import { LanguageModelV1 } from "ai";

//#region src/internal/agents/openai-provider.d.ts

/**
 * Configure the OpenAI provider factory.
 *
 * When a base URL is provided, the factory will use that endpoint for all
 * subsequent model requests. Passing undefined resets to the default
 * configuration bundled with the SDK.
 *
 * When a default model is provided, it will be used as the default for all
 * subsequent getOpenAIModel() calls. Passing undefined resets to "gpt-5".
 */
declare function configureOpenAIProvider({
  baseUrl,
  defaultModel: model
}: {
  baseUrl?: string;
  defaultModel?: string;
}): void;
/**
 * Retrieve a configured OpenAI language model.
 * If no model is specified, uses the configured default model (gpt-5).
 */
declare function getOpenAIModel(model?: string): LanguageModelV1;
//# sourceMappingURL=openai-provider.d.ts.map
//#endregion
export { configureOpenAIProvider, getOpenAIModel };
//# sourceMappingURL=openai-provider.d.ts.map