import { IHubRequestOptions } from "../../../../hub-types";
import { IQuery } from "../../../../search/types/IHubCatalog";
/**
 * Aggregates categories from a search query. Note that aggregation categories are all lowercased.
 *
 * @param query The query to search for categories.
 * @param requestOptions The request options to use for the search.
 * @returns a flat array of fully qualified category paths, all lowercased (e.g. ["/categories/category1", "/categories/category1/subcategory1", ...])
 */
export declare function fetchQueryCategories(query: IQuery, requestOptions: IHubRequestOptions): Promise<string[]>;
