main
search
protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collection