import { NotificationEvents } from "../types.mjs"; //#region ../notifications/src/dispatch/notifications-event-bus.d.ts type EventName = keyof NotificationEvents; type Handler = (data: NotificationEvents[E]) => void | Promise; /** * Public observability surface. * * `on(event, handler)` returns an unsubscribe function. `off` exists for * symmetry with libraries that hold handler references for later removal. */ declare const notifications: { on(event: E, handler: Handler): () => void; off(event: E, handler: Handler): void; }; //#endregion export { notifications }; //# sourceMappingURL=notifications-event-bus.d.mts.map