import type { RerankingResult } from './types.js'; /** * Fluent reranking builder. * * @example * const result = await Reranker.of('search query', documents).topK(5).rank() * const result = await Reranker.of('query', docs).model('cohere/rerank-v3.5').rank() */ export declare class Reranker { private readonly _query; private readonly _documents; private _model; private _topK; private constructor(); static of(query: string, documents: string[]): Reranker; model(model: string): this; topK(k: number): this; rank(): Promise; } //# sourceMappingURL=rerank.d.ts.map