export declare type IDispatcherWatcher = (value: T) => any; export declare class Dispatcher { private watchers; constructor(); listen(watcher: IDispatcherWatcher): () => void; dispatch(value: T): void; } export declare const createDispatcher: () => Dispatcher;