import { Embeddings } from "../../embeddings/base.js"; import { VectorStore } from "../../vectorstores/base.js"; import { Example } from "../../schema/index.js"; import { BaseExampleSelector } from "../base.js"; export interface SemanticSimilarityExampleSelectorInput { vectorStore: VectorStore; k?: number; exampleKeys?: string[]; inputKeys?: string[]; } export declare class SemanticSimilarityExampleSelector extends BaseExampleSelector { vectorStore: VectorStore; k: number; exampleKeys?: string[]; inputKeys?: string[]; constructor(data: SemanticSimilarityExampleSelectorInput); addExample(example: Example): Promise; selectExamples(inputVariables: Record): Promise; static fromExamples(examples: Record[], embeddings: Embeddings, vectorStoreCls: C, options?: { k?: number; inputKeys?: string[]; } & Parameters[3]): Promise; }