import { type AgentLlmAdapter } from '../../../common'; import type { LlmProvider, ProviderCommonOptions } from './types'; /** * LLM Provider Factories * * Creates adapters based on provider configuration using the official SDKs. * OpenAI and Anthropic are supported via optional peer dependencies. */ export * from './types'; /** * Options for creating a provider-based adapter. */ export interface CreateProviderAdapterOptions extends ProviderCommonOptions { /** The LLM provider to use. */ provider: LlmProvider; /** The model identifier (e.g., 'gpt-4o', 'claude-sonnet-4-6'). */ model: string; /** API key for the provider. */ apiKey: string; /** * Custom base URL for the API endpoint. * Useful for OpenAI-compatible providers (Groq, Mistral, etc.). */ baseUrl?: string; } /** * Create an adapter for the specified provider. * * Async signature preserved for API compatibility — actual initialization * is deferred via DeferredProviderAdapter (lazy init on first completion call). */ export declare function createProviderAdapter(options: CreateProviderAdapterOptions): Promise; /** * Create an adapter synchronously. * Used internally by the adapter factory for synchronous contexts. */ export declare function createProviderAdapterSync(options: CreateProviderAdapterOptions): AgentLlmAdapter; //# sourceMappingURL=index.d.ts.map