import { KvsStorage } from "@kvs/storage" ; import { kvsIndexedDB , KvsIndexedDBOptions } from "@kvs/indexeddb" ; import { KvsEnvStorageOptions , KvsEnvStorageSchema } from "./share" ; export const kvsEnvStorage = async < Schema extends KvsEnvStorageSchema > ( options ) : Promise < KvsStorage < Schema > > => { return kvsIndexedDB ( options ) ; } ;