import type { SignedOp } from "../model/types"; import type { OpStore, Profile } from "./store"; /** Ops and profile in this browser's IndexedDB. The private key is stored as a non-extractable CryptoKey. */ export declare class IndexedDbStore implements OpStore { private readonly db; private constructor(); static open(name?: string): Promise; close(): void; load(doc: string): Promise; append(doc: string, ops: SignedOp[]): Promise; loadProfile(): Promise; saveProfile(profile: Profile): Promise; saveProfileIfAbsent(profile: Profile): Promise; private request; }