import { DependencyList } from 'react'; import type { NativeStackNavigationProp } from "@react-navigation/native-stack"; export declare function useBackAction(action: () => boolean, deps?: DependencyList): void; export declare function useScreenFocus(actions: (() => void)[], deps?: DependencyList): void; export declare function useScreenBlur(actions: (() => void)[]): void; /** * this function fix "push is not exist on navigation object " * see https://github.com/react-navigation/hooks/issues/42 * but when you use this hook , don't reference this object to a const (leak memory!) */ export declare const useStackNavigation: () => NativeStackNavigationProp; /** * the handy function to use route params */ export declare const useRouteParams: () => any;