import { Document } from '../types'; export declare class IndexedDB { #private; constructor({ name, store, version, }: { name: string; store: string; version: number; }); /** * mandatory to call before any other method * and must be awaited */ load(): Promise; get(key: string): Promise; set(key: string, value: T): Promise; unset(key: string): Promise; clear(): Promise; }