/** * `--json` mode streams machine-readable JSONL events instead of ANSI text * and does NOT open the browser (the caller owns that): one line * {"event":"code",userCode,verificationUri,verificationUriComplete,expiresIn} * then {"event":"approved",email} or {"event":"error",code}. Built for the * Mac app driving the device flow, useful to any script. */ export declare function login(json?: boolean, suppliedToken?: string): Promise; export declare function logout(json?: boolean): void; export declare function whoami(json?: boolean): Promise; export declare function balance(json?: boolean): Promise;