import type { NavigationState, ParamListBase } from '@react-navigation/routers'; declare type Selector = (state: NavigationState) => T; /** * Hook to get a value from the current navigation state using a selector. * * @param selector Selector function to get a value from the state. */ export default function useNavigationState(selector: Selector): T; export {};