export declare const configDir: 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<void>;
export declare function saveConfig(): void;
