import type { DirectModelClient } from "./types"; export interface OpenAIClientOptions { readonly apiKey: string; readonly model: string; /** Default "https://api.openai.com/v1". Trailing slashes stripped. */ readonly baseURL?: string; /** Optional OpenAI-Organization header. */ readonly organization?: string; /** Test injection point. Defaults to globalThis.fetch. */ readonly fetchImpl?: typeof fetch; } export declare function createOpenAIClient(opts: OpenAIClientOptions): DirectModelClient;