import type { LLMConfig, CompletionRequest, CompletionResponse, ToolSpec } from "../runtime/types.js"; type ProviderKind = LLMConfig["provider"]; /** * Routes completion requests to the configured provider and normalizes * tool-call responses into a common shape. */ export declare class ProviderManager { private readonly config; constructor(config: LLMConfig); complete(request: CompletionRequest): Promise; private toolSetForAnthropic; private toolSetForOpenAI; private toolSetForGoogle; private mapAnthropicResponse; private mapOpenAIResponse; private mapOllamaResponse; private safeJson; /** Build messages array, using raw assistant messages when available */ private buildMessages; private completeAnthropic; private completeGoogle; private completeOpenAI; private completeOllama; toToolSpec(name: string, description: string, inputSchema: Record): ToolSpec; toolInputSchemaFor(provider: ProviderKind): (schema: ToolSpec[]) => unknown; } export {}; //# sourceMappingURL=provider.d.ts.map