import { TokenData } from './types.js'; export declare class Auth { private readonly data; private readonly created; private _userId; constructor(data: TokenData, created?: number); get token(): string; get userId(): string | undefined; get refresh(): string; get expiry(): number; private static digest; save(persistPath: string, encryptionKey: string): Promise; static load(persistPath: string, encryptionKey: string): Promise; }