/** * Process-wide embedding facade (global provider + convenience functions). * * Modules call {@link configureEmbeddings} before embedding I/O; the active * {@link EmbeddingProvider} is chosen via {@link createEmbeddingProvider}. */ import type { EmbeddingConfig } from "../../domain/ports"; /** * Configure the global embedding provider. Resets the underlying adapter when * model, runtime, or logger reference changes. */ export declare function configureEmbeddings(config: Partial): void; /** * Current global embedding configuration (shallow copy). */ export declare function getEmbeddingConfig(): EmbeddingConfig; /** * Drop the global provider so the next call loads a fresh adapter. * Intended for benchmarks and tests. */ export declare function resetGlobalEmbeddingProvider(): Promise; export declare function getEmbedding(text: string): Promise; export declare function getEmbeddings(texts: string[]): Promise; /** * Model cache directory on disk (shared by all runtimes when configured this way). */ export declare function getCacheDir(): string; export { isEmbeddingModelCached as isModelCached } from "./modelCache";