/// <reference types="react" />
export type EventDispatch = (args: any) => void;
export interface ReceiversDict {
    [evtName: string]: EventDispatch[];
}
export declare const EventDispatcherProvider: {
    ({ children, ...props }: {
        children?: import("react").ReactNode;
    }): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
export declare const useEventDispatcher: () => {
    subscribe: (eventName: string, cb: EventDispatch) => () => void;
    dispatch: (eventName: string, args: any) => void;
};
