import { CacheAdapter } from "../adapters/cache.adapter"; import { RequestOptions } from "../controllers/query.controller"; import { Table } from "dexie"; export declare class DefaultCacheFactory implements CacheAdapter { constructor(); getAll(database: string, collection: string): Promise; withDexie(dbname: string, collection: string, fn: (table: Table) => Promise): Promise; keys(database: string, collection: string): Promise; clearAll(database: string, collection: string): Promise; get(key: string, database: string, collection: string): Promise; getBulk(keys: string[], database: string, collection: string): Promise; set(key: string, data: any, database: string, collection: string, options?: { dtl?: number; secure?: boolean; }): Promise; setBulk(keys: string[], data: any[], database: string, collection: string): Promise; remove(key: string, database: string, collection: string, force?: boolean): Promise; cacheEnabled(appName: string, options?: RequestOptions): boolean; }