1 | import type { EventConsumer, EventEmitter } from './types';
|
2 | export type NavigationEventEmitter<T extends Record<string, any>> = EventEmitter<T> & {
|
3 | create: (target: string) => EventConsumer<T>;
|
4 | };
|
5 | /**
|
6 | * Hook to manage the event system used by the navigator to notify screens of various events.
|
7 | */
|
8 | export default function useEventEmitter<T extends Record<string, any>>(listen?: (e: any) => void): NavigationEventEmitter<T>;
|
9 | //# sourceMappingURL=useEventEmitter.d.ts.map |
\ | No newline at end of file |