//#region extensions/openai/base-url.d.ts
export declare const OPENAI_CODEX_RESPONSES_BASE_URL = "https://chatgpt.com/backend-api/codex";
export declare const OPENAI_API_BASE_URL = "https://api.openai.com/v1";
type OpenAIEndpointKind = "unresolved" | "platform" | "chatgpt" | "custom" | "invalid";
/** Classifies exact native endpoints, valid custom URLs, and unsafe/invalid input. */
export declare function classifyOpenAIBaseUrl(baseUrl: unknown): OpenAIEndpointKind;
export declare function resolveOpenAIDefaultBaseUrl(env?: Record<string, string | undefined>): string;
export declare function isOpenAIApiBaseUrl(baseUrl?: string): boolean;
export declare function isOpenAICodexBaseUrl(baseUrl?: string): boolean;
/** True only for an HTTPS OpenAI Platform endpoint eligible for native transport hooks. */
export declare function isOpenAIHttpsApiBaseUrl(baseUrl?: string): boolean;
export declare function canonicalizeCodexResponsesBaseUrl(baseUrl?: string): string | undefined;
//#endregion