import { Command } from 'commander'; type CodexAuth = Record & { tokens?: Record; OPENAI_API_KEY?: unknown; }; type ManagedCodexAccount = { id: string; label: string; capturedAt: string; authPath: string; }; type CodexAccountPaths = { authPath: string; vaultDir: string; }; export declare function parseCodexAuth(raw: string): CodexAuth; export declare function atomicWriteCredential(filePath: string, content: string): void; export declare function captureCurrentCodexAccount(overrides?: Partial): ManagedCodexAccount; export declare function installCodexAuth(raw: string, overrides?: Partial): ManagedCodexAccount; export declare function validateSshTarget(target: string): string; export declare function codexAuthSshArgs(target: string): string[]; export declare function registerManagedAuthCommand(program: Command): void; export {};