export declare function tokenPath(accountDir: string): string; /** Store an account's long-lived OAuth token (mode 0600 where the OS supports it). */ export declare function saveToken(accountDir: string, token: string): void; /** Read an account's stored OAuth token, or null if absent/empty. */ export declare function readToken(accountDir: string): string | null; /** * Extract the OAuth token from `claude setup-token` output. Claude subscription * tokens look like `sk-ant-...`; otherwise fall back to the longest * credential-shaped token in the output. */ export declare function extractToken(output: string): string | null;