import { KeyValueStore, KeyValueStoreOptions, MetaKeyValueStore } from "./types";
export declare const STORE_NAMES: Set<string>;
export interface StorageConfigFn {
    (store: KeyValueStore<unknown>): KeyValueStore<unknown> | undefined | void;
}
export interface StorageConfig {
    store?: StorageConfigFn;
}
export declare function getBaseKeyValueStore<T>(name: string, options?: KeyValueStoreOptions): KeyValueStore<T>;
export declare function isMetaStoreName(name: string): boolean;
export declare function createMetaStore<M>(fn: (name: string, options: KeyValueStoreOptions) => MetaKeyValueStore<M>, name: string, key?: string, options?: KeyValueStoreOptions): MetaKeyValueStore<M>;
