import type { LLMProvider } from "@onenomad/przm-cortex-llm-core"; import { LLMRouter } from "@onenomad/przm-cortex-llm-core"; import type { Logger } from "@onenomad/przm-cortex-core"; import type { CortexConfig } from "../config.js"; /** * Result of `buildLLMRouter`. `router` is undefined when no provider * is configured — pipelines and adapters must check before using. */ export interface LLMRouterBootstrap { router?: LLMRouter; providers: Record; /** True when at least one provider initialized successfully. */ hasLocalLlm: boolean; } /** * Load enabled providers from config, verify required secrets are present, * init each, and return a router wired to them. * * Cortex 0.2 — returns `{ hasLocalLlm: false }` instead of throwing * when no providers are configured or installed. Callers fall back * to the enrichment queue (MCP-client-driven enrichment). */ export declare function buildLLMRouter(args: { cfg: CortexConfig; env: Record; logger: Logger; }): Promise; //# sourceMappingURL=providers.d.ts.map