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(filePath: string, encryptionKey: string): void;
    static load(filePath: string, encryptionKey: string): Auth | null;
}
