Files
2026-02-10 01:14:19 +00:00

6 lines
264 B
TypeScript

import type { BusEvent } from '../shared';
export type BusEventHandler = (ev: BusEvent) => void;
export declare function emit(ev: BusEvent): void;
export declare function on(fn: BusEventHandler): boolean;
export declare function off(fn: BusEventHandler): boolean;