import { IDispatcherWatcher } from './createDispatcher'; export interface IStoreValue { [name: string]: any; } export interface IStoreOptions { local?: string; defaults: T; } export declare class Store { private value; private defaults; private dispatcher; private local?; constructor({ defaults, local }: IStoreOptions); change(data?: Partial): void; reset(): void; listen(watcher: IDispatcherWatcher): () => void; state(): T; } export declare const createStore: ({ defaults, local, ...args }: IStoreOptions) => Store;