import type { RerankProvider, RerankCandidate, RerankResult } from '../../providers/rerank-provider.js';
export declare class TransformersRerankProvider implements RerankProvider {
    private tokenizer;
    private model;
    private loadPromise;
    readonly modelId: string;
    constructor();
    warmup(): Promise<void>;
    private load;
    rerank(query: string, candidates: RerankCandidate[], topK?: number): Promise<RerankResult[]>;
    dispose(): Promise<void>;
}
//# sourceMappingURL=transformers-rerank-provider.d.ts.map