import type { ChatRequest, ChatResponse, LLMProvider, ProviderModelSource, ProviderRuntimeMetadata, ProviderRuntimeMetadataDeps } from './interface.js'; import type { SubscriptionManager } from '../config/subscriptions.js'; /** * Dated fallback model list for the ChatGPT/Codex subscription surface. This * backend (chatgpt.com/backend-api) has no public model-listing endpoint, so * unlike the direct OpenAI API key provider this is a dated-static list only *, docs-verified (no live subscription session was available in this * environment to cross-check) against developers.openai.com Codex model * pages on 2026-07-12; update this list (and the date below) whenever it is * re-verified. */ export declare const OPENAI_CODEX_DATED_STATIC_MODELS: readonly string[]; export declare const OPENAI_CODEX_DATED_STATIC_MODELS_AS_OF = "2026-07-12"; export declare function chatWithOpenAICodex(accessToken: string, params: ChatRequest): Promise; export declare class OpenAICodexProvider implements LLMProvider { private readonly subscriptionManager; readonly name = "openai-subscriber"; readonly credentialAuthority: "subscription"; readonly modelSource: ProviderModelSource; readonly models: string[]; constructor(subscriptionManager: Pick); chat(params: ChatRequest): Promise; private subscriptionEndedError; describeRuntime(deps: ProviderRuntimeMetadataDeps): Promise; } //# sourceMappingURL=openai-codex.d.ts.map