import * as t from '../types'; export declare class DbFactory implements t.IDbFactory { static cacheKey(args: { dir: string; version?: string; }): string; static create(args: { create: t.CreateDatabase; }): DbFactory; private constructor(); private readonly _; readonly events$: import("rxjs").Observable; readonly creating$: import("rxjs").Observable; readonly created$: import("rxjs").Observable; readonly count: number; readonly items: Array>; isCached: (args: { dir: string; version?: string | undefined; }) => boolean; reset(): this; create:

(args: t.ICreateCacheableDatabaseArgs) => Promise>; private _create; clone(): DbFactory; get:

(args: { dir: string; version?: string | undefined; }) => t.ICreateDatabaseResponse

| undefined; remove(args: { dir: string; version?: string; }): this; getOrCreate:

(args: t.ICreateCacheableDatabaseArgs) => Promise>; private fire; private fireChange; private fireCreating; }