import { IStorage } from "../types.js"; interface ILocalStorageOptions { globalKey?: string; storage?: Storage; } /** * Local storage for mobx store manager */ declare class LocalStorage implements IStorage { /** * Local storage key */ protected globalKey: string; /** * @protected */ protected storage: Storage; /** * @constructor */ /** * @constructor */ constructor({ storage, globalKey }?: ILocalStorageOptions); /** * @inheritDoc */ /** * @inheritDoc */ get(): Record | Promise | undefined>; /** * @inheritDoc */ /** * @inheritDoc */ flush(): void | Promise; /** * @inheritDoc */ /** * @inheritDoc */ set(value: Record | undefined): void; } export { LocalStorage as default, ILocalStorageOptions };