export type CodexAuthSeedMode = "api-key" | "chatgpt-auth-tokens"; export type EnsureCodexAuthResult = { action: "seeded" | "updated" | "already_seeded" | "already_present" | "skipped"; mode: CodexAuthSeedMode; replacedExistingAuth?: boolean; warning?: string; }; export type CleanupCodexAuthResult = { action: "removed" | "restored_backup" | "preserved" | "none"; warning?: string; }; export declare function ensureCodexApiKeyAuth(params: { codexHome: string; apiKey: string; }): Promise; export declare function ensureCodexUsageLimitAuth(params: { codexHome: string; apiKey: string; }): Promise; export declare function cleanupSeededCodexAuth(params: { codexHome: string; }): Promise; export declare function cleanupSeededCodexApiKeyAuth(params: { codexHome: string; }): Promise;