import type { SearchTaskDocumentSuggestionsResult } from './taskdoc-search';
export type TaskdocSuggestionWorkerPayload = {
    rootDir?: string;
    query: string;
    limit?: number;
};
type TaskdocSuggestionWorkerOptions = {
    signal?: AbortSignal;
};
export declare function buildTaskDocumentSuggestionRequestKey(payload: TaskdocSuggestionWorkerPayload): string;
export declare function searchTaskDocumentSuggestionsInWorker(payload: TaskdocSuggestionWorkerPayload, options?: TaskdocSuggestionWorkerOptions): Promise<SearchTaskDocumentSuggestionsResult>;
export {};
