export interface UserSettings { schemaVersion?: number; path?: string; } export interface Settings { schemaVersion: number; path: string; } export interface Cache { _id: string; value?: string; } export default class CacheStorageWeb { static settings: Settings; private static db; static init(settings: UserSettings): void; static set(key: string, value: any): Promise; static get(key: string): Promise; static remove(key: string): Promise; private static hashCode(text); }