import { type AiAdapter } from "../adapter.js"; import { type OpenAiResponsesAdapter } from "../adapters/openai-responses.js"; /** * Create an OpenAI model using the OpenAI Responses API format. * * By default it targets the `https://api.openai.com/v1/` base URL. */ export declare const openaiResponses: AiAdapter.ModelCreator<[ options: OpenAiResponses.AiModelOptions ], OpenAiResponses.AiModel>; export declare namespace OpenAiResponses { /** * IDs of models to use. Keep string passthrough for flexibility. */ type Model = (string & {}) | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4.1-mini" | "gpt-4.1" | "gpt-4.5-preview" | "gpt-4o" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4" | "o1" | "o1-preview" | "o1-mini" | "o3-mini" | "gpt-4-turbo" | "gpt-3.5-turbo"; /** Options for creating an OpenAI Responses model. */ interface AiModelOptions { /** ID of the model to use. */ model: Model; /** * The OpenAI API key to use for authenticating your request. By default * we'll search for and use the `OPENAI_API_KEY` environment variable. */ apiKey?: string; /** * The base URL for the OpenAI API. * @default "https://api.openai.com/v1/" */ baseUrl?: string; /** Default parameters to merge on each call via onCall. */ defaultParameters?: Partial>; } /** An OpenAI Responses model using the Responses format for I/O. */ interface AiModel extends OpenAiResponsesAdapter { options: AiModelOptions; } } //# sourceMappingURL=openai-responses.d.ts.map