/** * 本地 embedding:优先走本地 LLM 子进程服务(/v1/embeddings), * 不可用时回退到 node-llama-cpp 直接加载(GGUF)。 */ import type { IEmbeddingProvider } from "./embedding-types.js"; export declare function getLocalEmbeddingUnavailableReason(): string | null; /** * 获取本地 embedding 提供方(懒加载)。 * 优先使用本地 LLM 子进程服务;不可用时回退到 node-llama-cpp 直接加载。 */ export declare function getLocalEmbeddingProvider(): Promise;