export declare const STORE_PATH: string; export interface LoginStart { url: string; state: string; verifier: string; } export declare function parsePastedCode(raw: string): { code: string; state: string; } | null; /** Build the browser authorization URL plus the PKCE secrets needed to finish. */ export declare function startLogin(): LoginStart; /** Exchange the pasted CODE#STATE value for tokens and persist them. */ export declare function completeLogin(start: LoginStart, rawPaste: string): Promise; /** Return a valid access token, refreshing first when expired or near expiry. */ export declare function freshAccessToken(): Promise; export declare function statusText(): Promise; export declare function logout(): Promise;