export declare const USER_COLLECTION = "dcInternalUser"; export declare const add: (table: string, el: T, ignoreDuplicates: boolean) => Promise; export declare const update: (table: string, el: T) => Promise; export declare const updateAll: (table: string, elArray: T[]) => Promise; export declare const addAll: (table: string, elArray: T[], ignoreDuplicates: boolean) => Promise; export declare const deleteAllEl: (table: string, elIdArray: string[]) => Promise; export declare const get: (table: string, id: string) => Promise; export declare const getAll: (table: string, index?: string) => Promise; export declare const getAllIds: (table: string) => Promise; export declare const deleteAll: (table: string) => Promise; export declare const removeDatabase: (dbName: string) => Promise; export interface IndexDBConfig { dbName: string; dbVersion: number; collections: { name: string; collectionConf: { keyPath?: string; }; }[]; } /** * Init indexDB for application. * * @param config - config for index db */ export declare const initDB: (config: IndexDBConfig) => void; //# sourceMappingURL=indexDB.d.ts.map