import { type AsyncEmbedder, type Embedder, type OpenAIEmbeddingAdapterOptions } from './rag-embedding.js'; import type { RagSemanticEmbedFact, RagSemanticFacts, RagSemanticPipelineFact } from './semantic-validator.js'; export declare const RAG_EMBED_MODEL_LOCAL_HASH = "local-hash-v1"; export declare const RAG_EMBED_MODEL_LOCAL_SEMANTIC = "local-semantic-v1"; export declare const RAG_EMBED_MODEL_OPENAI_TEXT_EMBEDDING_3_SMALL = "openai:text-embedding-3-small"; export declare const RAG_EMBED_MODEL_OPENAI_TEXT_EMBEDDING_3_LARGE = "openai:text-embedding-3-large"; export declare const RAG_SUPPORTED_EMBED_MODELS: readonly ["local-hash-v1", "local-semantic-v1", "openai:text-embedding-3-small", "openai:text-embedding-3-large", "text-embedding-3-small", "text-embedding-3-large"]; export type RagSupportedEmbedModel = (typeof RAG_SUPPORTED_EMBED_MODELS)[number]; export type RagCanonicalEmbedModel = typeof RAG_EMBED_MODEL_LOCAL_HASH | typeof RAG_EMBED_MODEL_LOCAL_SEMANTIC | typeof RAG_EMBED_MODEL_OPENAI_TEXT_EMBEDDING_3_SMALL | typeof RAG_EMBED_MODEL_OPENAI_TEXT_EMBEDDING_3_LARGE; export interface RagProviderEmbeddingOptions { readonly openai?: Omit; } export declare function isSupportedRagEmbedModel(model: string): model is RagSupportedEmbedModel; export declare function canonicalRagEmbedModel(model: string | undefined): RagCanonicalEmbedModel; export declare function defaultDimsForRagEmbedModel(model: string): number; export declare function ragEmbedModelAllowsCustomDims(model: string): boolean; export declare function resolveSyncRagEmbedderForPipeline(facts: RagSemanticFacts, pipeline: RagSemanticPipelineFact, options?: { readonly embedder?: Embedder; }): Embedder; export declare function resolveAsyncRagEmbedderForPipeline(facts: RagSemanticFacts, pipeline: RagSemanticPipelineFact, options?: { readonly embedder?: AsyncEmbedder; readonly providers?: RagProviderEmbeddingOptions; }): AsyncEmbedder; export declare function embedFactForPipeline(facts: RagSemanticFacts, pipeline: RagSemanticPipelineFact): RagSemanticEmbedFact | undefined;