/** * Account rotation — cycles Codex API accounts before each agent spawn. * * Uses `codex-accounts next` to rotate the active account in ~/.codex/auth.json. * Cross-process file lock ensures only one rotation happens at a time, even * across multiple MCP server instances on the same machine. */ /** * Enabled by default; disabled only when CODEX_ROTATE is explicitly "0" or "false". */ export declare function isRotationEnabled(): boolean; /** * One-time startup validation for codex-accounts binary. */ export declare function validateAccountsBinary(): void; /** * Rotate to the next configured account. */ export declare function rotateAccount(): Promise; /** * Best-effort shutdown cleanup. */ export declare function cleanupRotationLock(): void; /** * Test helper: reset module state and optionally override lock file location. */ export declare function resetForTesting(overrideLockPath?: string): void; //# sourceMappingURL=account-rotator.d.ts.map