import type { LLMProvider } from './interface.js'; import { type BuiltinCompatDefinition } from './builtin-catalog.js'; import type { BenchmarkEntry } from './model-benchmarks.js'; import type { RuntimeEventBus } from '../runtime/events/index.js'; import type { CanonicalModel } from './synthetic.js'; import type { SubscriptionManager } from '../config/subscriptions.js'; export interface ProviderRegistrar { register(provider: LLMProvider): void; } export declare const CATALOG_PROVIDER_NAME_ALIASES: Record; export declare function createBuiltinCompatProvider(definition: BuiltinCompatDefinition, apiKey: string, options: { readonly cacheHitTracker?: import('./cache-strategy.js').CacheHitTracker | undefined; /** On-disk cache path for this provider's live-discovered model list. */ readonly modelsCachePath?: string | undefined; }): LLMProvider; /** * Register the complete set of builtin provider implementations. * Kept in a separate module so the registry composition root stays focused. */ export declare function registerBuiltinProviders(registry: ProviderRegistrar, hasProvider: (name: string) => boolean, apiKey: (name: string) => string, options: { readonly resolveProvider: (providerName: string) => LLMProvider; readonly cacheHitTracker?: import('./cache-strategy.js').CacheHitTracker | undefined; readonly getCatalogModels: () => readonly CanonicalModel[]; readonly getBenchmarks: (modelId: string) => BenchmarkEntry | undefined; readonly githubCopilotTokenCachePath: string; readonly subscriptionManager: Pick; readonly runtimeBus?: RuntimeEventBus | null | undefined; /** Control-plane persistence root; per-provider live-model-discovery cache paths derive from it. */ readonly persistenceRoot: string; /** * Where the prompt-cache keys (`cache.enabled`, `cache.stableTtl`) are read. * * Only the explicit-caching builtins need it, `cache.enabled` describes * itself as being for "eligible providers (Anthropic)". */ readonly cachePolicy?: import('./cache-strategy.js').CachePolicyReader | undefined; }): void; //# sourceMappingURL=builtin-registry.d.ts.map