///
import type { AbstractEventBusEventType, register, emit } from './EventBus';
interface PropsType {
eventName: string;
initialValue?: T;
}
interface EventBusContextType {
emit: typeof emit;
register: typeof register;
}
export declare const EventBusContextProvider: import("react").Provider;
export declare function useEventBusBehaviourSubscription({ eventName, initialValue, }: PropsType): T | {
error: string;
} | undefined;
export declare function useEventBusSubscription>(eventName: string, handler: (payload: T | undefined) => void): void;
export declare function useEventBusEmit(): (event: AbstractEventBusEventType | Promise>) => void;
export {};