/// <reference types="react" />
export declare type EventDispatch = (args: any) => void;
export interface ReceiversDict {
    [evtName: string]: EventDispatch[];
}
export declare const EventDispatcherProvider: import("react").FC<{}>;
export declare const useEventDispatcher: () => {
    subscribe: (eventName: string, cb: EventDispatch) => () => void;
    dispatch: (eventName: string, args: any) => void;
};
