import { UserRecord, IUserRecord } from "../type/types";
declare class UserDatabaseManager {
    private db;
    private queue;
    private readonly USER_NAMESPACE;
    private readonly ITEM_NAMESPACE;
    constructor(filename?: string);
    private withItemNamespace;
    private withUserNamespace;
    addItems(data: Record<string, any> | UserRecord[]): Promise<void>;
    addUsers(data: Record<string, any> | UserRecord[]): Promise<void>;
    updateUser(key: string, value: any): Promise<void>;
    getUser(key: string): Promise<IUserRecord>;
    getAllUserKeys(): Promise<string[]>;
    getRawDataMap(): Promise<Record<string, IUserRecord>>;
    deleteUser(key: string): Promise<boolean>;
    clearUsers(): Promise<void>;
    close(): Promise<void>;
}
export default UserDatabaseManager;
