import type { StorageScope } from "./Storage.types"; export type WebStorageChangeEvent = { key: string | null; newValue: string | null; }; export type WebStorageScope = StorageScope.Disk | StorageScope.Secure; export type WebStorageBackend = { getItem: (key: string) => string | null; setItem: (key: string, value: string) => void; removeItem: (key: string) => void; clear: () => void; getAllKeys: () => string[]; getMany?: (keys: string[]) => (string | null)[]; setMany?: (entries: readonly (readonly [key: string, value: string])[]) => void; removeMany?: (keys: string[]) => void; size?: () => number; subscribe?: (listener: (event: WebStorageChangeEvent) => void) => () => void; flush?: () => Promise; close?: () => void; name?: string; }; export type WebDiskStorageBackend = WebStorageBackend; export type WebSecureStorageBackend = WebStorageBackend; type LocalStorageBackendOptions = { includeKey?: (key: string) => boolean; name?: string; resolveStorage?: () => Storage | undefined; }; export declare function createLocalStorageWebBackend(options?: LocalStorageBackendOptions): WebStorageBackend; export {}; //# sourceMappingURL=web-storage-backend.d.ts.map