import { type DashboardEventHandler, type DashboardEventHandlerFn } from "../../model/eventHandlers/eventHandler.js"; import { type ICustomDashboardEvent } from "../../model/events/base.js"; import { type DashboardEvents } from "../../model/events/index.js"; import { type IDashboardEventing } from "../../presentation/dashboard/types.js"; import { type DashboardStateChangeCallback, type IDashboardEventHandling } from "../customizer.js"; /** * @internal */ export declare class DefaultDashboardEventHandling implements IDashboardEventHandling { private handlers; private initialHandlersSent; private pendingRegistration; private pendingUnregistration; private stateChangesChain; private evalCache; private readonly rootStateChangesCallback; /** * This callback will be included in the resulting IDashboardEventing instance returned by {@link getDashboardEventing}. It will thus * make its way into the dashboard store initializer. Once the store initializes and the event emitter is up, the ad hoc event * registration/unregistration functions will be passed to here. * * From then on, the methods that add/remove handlers or custom handlers can add handlers directly into active dashboard component. */ private readonly onEventingInitialized; private registerHandler; private unregisterHandler; private getOrCreateEvalFn; addEventHandler: | DashboardEvents>(eventType: string, callback: DashboardEventHandlerFn) => IDashboardEventHandling; removeEventHandler: | DashboardEvents>(eventType: string, callback: DashboardEventHandlerFn) => IDashboardEventHandling; private doRegister; addCustomEventHandler: (handler: DashboardEventHandler) => IDashboardEventHandling; private doUnregister; removeCustomEventHandler: (handler: DashboardEventHandler) => IDashboardEventHandling; subscribeToStateChanges: (callback: DashboardStateChangeCallback) => IDashboardEventHandling; unsubscribeFromStateChanges: (callback: DashboardStateChangeCallback) => IDashboardEventHandling; getDashboardEventing(): Required; } //# sourceMappingURL=dashboardEventHandling.d.ts.map