import { D as Driver, S as Storage, a as StorageValue } from './types-20f3bd04'; export { D as Driver, S as Storage, c as StorageMeta, a as StorageValue, b as WatchCallback, W as WatchEvent } from './types-20f3bd04'; interface CreateStorageOptions { driver?: Driver; } declare function createStorage(opts?: CreateStorageOptions): Storage; declare type Snapshot = Record; declare function snapshot(storage: Storage, base: string): Promise>; declare function restoreSnapshot(driver: Storage, snapshot: Snapshot, base?: string): Promise; declare function prefixStorage(storage: Storage, base: string): Storage; declare type DriverFactory = (opts?: T) => Driver; declare function defineDriver(factory: DriverFactory): DriverFactory; export { CreateStorageOptions, Snapshot, createStorage, defineDriver, prefixStorage, restoreSnapshot, snapshot };