import get from 'lodash.get'; import { DefaultRouteProp, DefaultNavigationProp } from 'expo-navigation-core/build/hooks/use-routing/types'; export default function useRouting(): { getParam: (param: Parameters['1'], fallback?: unknown) => Param | undefined; navigate: ({ routeName, web, params, }: To) => void; push: ({ routeName, web, params, }: To) => void; goBack: () => void; popToTop: () => void; prefetch: (url: string, asPath?: string | undefined, options?: import("next/dist/next-server/lib/router/router").PrefetchOptions | undefined) => Promise; replace: ({ routeName, web, params, }: To_1) => void; setParams: (a: R) => void; canGoBack: () => boolean; pathname: string; };