export declare const configDir: string;
export declare const cacheDir: string;
export declare function session(): {
    id: string;
    userId: string;
    expires: Date;
    created: Date;
    elevated: boolean;
    user: {
        id: string;
        name: string;
        email: string;
        preferences: Record<string, any>;
        roles: string[];
        registeredAt: Date;
        isAdmin: boolean;
        emailVerified?: Date | null | undefined;
        image?: string | null | undefined;
    };
};
export declare function loadConfig(safe: boolean): Promise<void>;
export declare function saveConfig(): void;
export declare const _dayMs: number;
export declare function updateCache(force: boolean): Promise<void>;
