export type EventCallback = () => void; interface EventHookResult { on: (fn: EventCallback) => () => void; trigger: () => void; clear: () => void; } export declare function useEvent(): EventHookResult; export {};