export interface RerankCandidate {
    id: string;
    text: string;
}
export interface RerankResult {
    id: string;
    score: number;
}
export interface RerankProvider {
    rerank(query: string, candidates: RerankCandidate[], topK?: number): Promise<RerankResult[]>;
    /** Model identifier (for cache invalidation / provenance). */
    readonly modelId: string;
}
export declare function getRerankProvider(): Promise<RerankProvider>;
export declare function _resetRerankProviderForTest(): void;
export declare function disposeRerankProvider(): Promise<void>;
//# sourceMappingURL=rerank-provider.d.ts.map