import { IRecordID } from '../../shared/types.js'; /** * Indexed DB Store * Object in charge of charge of interacting with the Browser's IndexedDB implementation. */ interface IIndexedDBStore { id: string; isCompatible(): Promise; get: (id?: IRecordID) => Promise; set: (id: IRecordID, data: T) => Promise; del: (id?: IRecordID) => Promise; } export type { IIndexedDBStore };