export type CachedSession = { token: string; /** ISO timestamp when the token expires (2 days from issue). */ expiresAt: string; /** Email of the user who authorized (if available). */ email?: string; }; /** Persist the auth token to the `session` section of the unified config. */ export declare function writeSession(session: CachedSession): void; /** * Read the cached session, returning it only if the token is still * valid (not yet expired). Returns undefined on any error. */ export declare function readSession(): CachedSession | undefined;