/** * Token IO * * Token file read/write operations. */ import type { UnknownObject } from '../../../modules/pipeline/types/common-types.js'; import { type StoredOAuthToken } from './token-helpers.js'; export declare function normalizeGeminiCliAccountToken(token: UnknownObject): StoredOAuthToken | null; export declare function sanitizeToken(token: UnknownObject | null): StoredOAuthToken | null; export declare function readTokenFromFile(file: string): Promise; export declare function backupTokenFile(file: string): Promise; export declare function restoreTokenFileFromBackup(backupFile: string | null, target: string): Promise; export declare function discardBackupFile(backupFile: string | null): Promise; export declare function clearTokenFile(file: string): Promise; export declare function readRawTokenFile(file: string): Promise;