import type { EmbeddingProvider, EmbeddingMetrics, Logger } from "@vivantel/virage-core"; import { type SemanticCacheConfig } from "./semantic-cache.js"; export interface OpenAICompatibleEmbedderOptions { apiKey: string; model: string; dimensions?: number; /** Defaults to https://api.openai.com/v1 */ baseURL?: string; organizationId?: string; maxRetries?: number; /** Optional semantic or exact embedding cache. */ cache?: SemanticCacheConfig; } export declare class OpenAICompatibleEmbedder implements EmbeddingProvider { readonly name: string; readonly dimensions: number; readonly model: string; readonly preferredBatchSize = 100; private readonly client; private readonly cache; private readonly baseURL; private logger; constructor(options: OpenAICompatibleEmbedderOptions); setLogger(logger: Logger): void; embed(text: string): Promise; private embedDirect; embedBatch(texts: string[]): Promise; private embedBatchDirect; healthCheck(): Promise; getMetrics(embeddings: number[][]): Promise; } //# sourceMappingURL=embedder.d.ts.map