import type { CodexAuthOptions } from "./types.js"; export interface ResolvedOidcOptions { discoveryUrl: string; issuerUrl?: string; clientId: string; tenantId?: string; audience?: string; clientSecret?: string; scope: string; redirectHost: string; redirectPort: number; redirectPath: string; openBrowser: boolean; tokenFile: string; } export interface OidcLoginResult { expiresAt: number; scope: string; } export interface CodexAuthController { readonly kind: "static" | "provider" | "oidc"; getAccessToken(forceRefresh?: boolean): Promise; login?(): Promise; logout?(): Promise; } export declare function createAuthController(auth: CodexAuthOptions, fetchImpl?: typeof fetch): CodexAuthController;