import { SearchConfig } from "../lib/config/SearchConfig";
import type { estypes } from "@elastic/elasticsearch";
export declare function relatedItemsQuery(config: SearchConfig, query: {
    index: string | string[];
    term: string;
    amount: number;
    searchFields?: string[];
    pidField?: string;
}): Promise<estypes.SearchResponseBody<unknown, Record<string, estypes.AggregationsAggregate>>>;
export declare function backgroundSearchQuery(config: SearchConfig, query: string): Promise<estypes.SearchResponseBody<unknown, Record<string, estypes.AggregationsAggregate>>>;
