import { AsyncCaller, AsyncCallerParams } from "../util/async_caller.js"; export type EmbeddingsParams = AsyncCallerParams; export declare abstract class Embeddings { /** * The async caller should be used by subclasses to make any async calls, * which will thus benefit from the concurrency and retry logic. */ caller: AsyncCaller; constructor(params: EmbeddingsParams); abstract embedDocuments(documents: string[]): Promise; abstract embedQuery(document: string): Promise; }