import { c as ensureGlobalUndiciEnvProxyDispatcher } from "./wsl-CxTBug0C.js"; import { n as OAuthCredentials } from "./openai-codex-oauth-types.runtime-DW1PqT14.js"; import { r as refreshOpenAICodexToken$1 } from "./openai-codex-oauth-flow.runtime-DV1oP6Gy.js"; //#region extensions/openai/openai-codex-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 };