/** * Registry of Vercel AI SDK providers. Each entry maps a vendor slug to the * dynamic import spec, factory function, default model, and env var name. * * VercelAgentRunner uses this to resolve and construct the right provider * instance at runtime. All packages are optionalDependencies — missing * packages produce a clear actionable error instead of a crash. */ export interface VercelProviderDef { vendor: string; /** npm import specifier for dynamic import(). */ package: string; /** Factory function exported by the package (e.g. createOpenAI). */ factory: string; /** Sane default model when role doesn't pin one. */ defaultModel: string; /** Default API key env var name. */ envVar: string; /** Override base URL (e.g. GLM's z.ai endpoint). */ defaultBaseUrl?: string; /** If true, use @ai-sdk/openai with custom baseURL (Chat Completions API). */ isOpenAiCompatible?: boolean; } export declare const VERCEL_PROVIDERS: Record; /** Resolve a provider instance via dynamic import. Throws clear error if * the package is missing (optionalDependencies pattern — mirrors how * opencode-runner and kimicode-runner handle missing SDK packages). */ export declare function loadVercelProvider(def: VercelProviderDef, apiKey?: string, baseUrl?: string): Promise<(modelId: string) => any>; //# sourceMappingURL=vercel-providers.d.ts.map