import { type ReactElement, type ReactNode } from "react";
import { type DashboardEventHandler } from "../eventHandlers/eventHandler.js";
/**
 * @alpha
 */
export interface IDashboardEventsContext {
    registerHandler: (handler: DashboardEventHandler) => void;
    unregisterHandler: (handler: DashboardEventHandler) => void;
}
/**
 * @alpha
 */
export declare const useDashboardEventsContext: () => IDashboardEventsContext;
/**
 * @internal
 */
export interface IDashboardEventsProvider extends IDashboardEventsContext {
    children: ReactNode;
}
/**
 * @internal
 */
export declare function DashboardEventsProvider({ children, registerHandler, unregisterHandler }: IDashboardEventsProvider): ReactElement;
//# sourceMappingURL=DashboardEventsContext.d.ts.map