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: { debug: boolean; }; roles: string[]; tags: string[]; registeredAt: Date; isAdmin: boolean; isSuspended: boolean; emailVerified?: Date | null | undefined; }; name?: string | null | undefined; }; export declare function loadConfig(safe: boolean): Promise; export declare function saveConfig(): void; export declare const _dayMs: number; export declare function updateCache(force: boolean): Promise;