UNPKG

374 BTypeScriptView Raw
1import type { StorageArea as IStorageArea, Options, AllowedKey, Key } from 'kv-storage-interface';
2export type { Options, AllowedKey, Key };
3declare type StorageAreaConstructor = new (name: string, opts?: Options) => IStorageArea;
4declare type StorageAreaClass = StorageAreaConstructor & {
5 prototype: IStorageArea;
6};
7export declare const StorageArea: StorageAreaClass;