/*! * 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 */ /** * @module storage */ import type { IAsyncStorage, IStorage, StorageValueType } from "../../types/index"; import { type WebStorageStrategy } from "./engines/local-storage-provider"; export declare class AsyncStorage implements IAsyncStorage { private provider; protected constructor(provider: Promise | IAsyncStorage>, suffix?: string); readonly prefix: string; set(key: string, value: T): Promise; delete(key: string): Promise; get(key: string): Promise; exists(key: string): Promise; clear(): Promise; close(): Promise; static makeStorage(persistentOrStrategy?: boolean | WebStorageStrategy | 'memoryStorage' | 'indexedDB', suffix?: string): IAsyncStorage; }