import type { SearchExecutor } from '../../types';
export interface GenericExecutorOptions<T = any> {
    name?: string;
    errorHandler?: (error: unknown) => Error;
}
export declare function createGenericExecutor<T = any>(searchFn: (query: string, signal?: AbortSignal) => Promise<T>, options?: GenericExecutorOptions): SearchExecutor<T>;
