At the moment, it just accepts a string, but FilterQuery is Stringable... but there's no way for the developer to know that.
public function query(
FilterQuery|string $query, // much better for self-documentation
SearchFilter $searchType,
?string $market = null,
int $limit = 20,
int $offset = 0,
?string $includeExternal = null,
):SearchResult