/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * [[include:core/storage/README.md]] * @packageDocumentation * @module storage */ import type { IStorage, StorageValueType } from "../../types/index"; import { type WebStorageStrategy } from "./engines/local-storage-provider"; export declare const StorageKey: string; export declare class Storage implements IStorage { readonly provider: IStorage; readonly prefix: string; set(key: string, value: T): this; delete(key: string): this; get(key: string): R | void; exists(key: string): boolean; clear(): this; protected constructor(provider: IStorage, suffix?: string); static makeStorage(persistentOrStrategy?: boolean | WebStorageStrategy, suffix?: string): IStorage; }