import { type ChatGptWebModelDef } from "./defaults.js"; export type OpenCodeConfigModel = { name: string; family?: string; release_date?: string; attachment: boolean; reasoning: boolean; temperature: boolean; tool_call: boolean; limit: ChatGptWebModelDef["limit"]; modalities: { input: Array<"text">; output: Array<"text">; }; cost: { input: number; output: number; cache_read: number; cache_write: number; }; options: Record; provider: { npm: string; api: string; }; variants: Record>; }; export type ProviderModelConfig = { id: string; providerID: string; api: { id: string; npm: string; url: string; }; name: string; capabilities: { temperature: boolean; reasoning: boolean; attachment: boolean; toolcall: boolean; input: { text: boolean; audio: boolean; image: boolean; video: boolean; pdf: boolean; }; output: { text: boolean; audio: boolean; image: boolean; video: boolean; pdf: boolean; }; interleaved: boolean; }; cost: { input: number; output: number; cache: { read: number; write: number; }; }; limit: ChatGptWebModelDef["limit"]; status: "active"; options: Record; headers: Record; variants: Record>; family?: string; release_date?: string; }; export declare function modelToOpenCodeConfig(id: string, model: ChatGptWebModelDef): OpenCodeConfigModel; export declare function modelToProviderConfig(id: string, model: ChatGptWebModelDef): ProviderModelConfig; export declare function bundledOpenCodeModels(existing?: Record>): Record; export declare function resolveProviderModels(existing?: Record>): Record; export declare function providerConfig(existingModels?: Record>): Record; //# sourceMappingURL=resolve.d.ts.map