import { ErrorResponse } from "./connect"; export declare abstract class IStore { name: string; abstract map: Map; abstract readonly context: string; abstract readonly length: number; abstract readonly keys: Key[]; abstract readonly values: Value[]; constructor(name: string, storagePrefix?: string); abstract init(): Promise; abstract set(key: Key, value: Value): Promise; abstract get(key: Key): Value; abstract getAll(filter?: Partial): Value[]; abstract update(key: Key, update: Partial): Promise; abstract delete(key: Key, reason: ErrorResponse): Promise; }