export declare enum DatabaseErrorType { DECRYPTION_FAIL = 0, PASS_ENC_UNDEFINED = 1, UNIQUE_ID_UNDEFINED = 2, UNEXPECTED_DATA_LEN = 3 } export declare class DatabaseError extends Error { errorType: DatabaseErrorType; constructor(errorType: DatabaseErrorType, msg?: string); }