1 | import type { NavigationState } from '@react-navigation/routers';
|
2 | import type { EventMapCore } from './types';
|
3 | import type { NavigationEventEmitter } from './useEventEmitter';
|
4 | type Options<State extends NavigationState> = {
|
5 | state: State;
|
6 | emitter: NavigationEventEmitter<EventMapCore<State>>;
|
7 | };
|
8 | /**
|
9 | * Hook to take care of emitting `focus` and `blur` events.
|
10 | */
|
11 | export default function useFocusEvents<State extends NavigationState>({ state, emitter, }: Options<State>): void;
|
12 | export {};
|
13 | //# sourceMappingURL=useFocusEvents.d.ts.map |
\ | No newline at end of file |