import { Document } from '@langchain/core/documents'; import { VectorStore, VectorStoreRetriever, VectorStoreRetrieverInput } from '@langchain/core/vectorstores'; export type ScoreThresholdRetrieverInput = Omit, 'k'> & { maxK?: number; kIncrement?: number; minSimilarityScore: number; }; export declare class ScoreThresholdRetriever extends VectorStoreRetriever { minSimilarityScore: number; kIncrement: number; maxK: number; constructor(input: ScoreThresholdRetrieverInput); getRelevantDocuments(query: string): Promise; static fromVectorStore(vectorStore: V, options: Omit, 'vectorStore'>): ScoreThresholdRetriever; }