import { r as OAuthCredentials } from "./provider-oauth-runtime-B-tSEXFb.js"; import { c as ensureGlobalUndiciEnvProxyDispatcher } from "./wsl-y_jDMOeX.js"; import { r as refreshOpenAICodexToken$1 } from "./openai-chatgpt-oauth-flow.runtime-D7ZiVcTk.js"; //#region extensions/openai/openai-chatgpt-provider.runtime.d.ts type OpenAICodexProviderRuntimeDeps = { ensureGlobalUndiciEnvProxyDispatcher: typeof ensureGlobalUndiciEnvProxyDispatcher; getOAuthApiKey: typeof getOpenAICodexOAuthApiKey; refreshOpenAICodexToken: typeof refreshOpenAICodexToken$1; }; declare function createOpenAICodexProviderRuntime(deps: OpenAICodexProviderRuntimeDeps): { getOAuthApiKey: typeof getOAuthApiKey; refreshOpenAICodexToken: typeof refreshOpenAICodexToken; }; declare function getOAuthApiKey(...args: Parameters): Promise>>; declare function refreshOpenAICodexToken(...args: Parameters): Promise>>; declare function getOpenAICodexOAuthApiKey(providerId: string, credentials: Record): Promise<{ newCredentials: OAuthCredentials; apiKey: string; } | null>; //#endregion export { getOAuthApiKey as n, refreshOpenAICodexToken as r, createOpenAICodexProviderRuntime as t };