import type { CommonActions, NavigationState, PartialState } from '@react-navigation/routers'; import type { NavigatorScreenParams, PathConfigMap } from './types'; type Options = { initialRouteName?: string; screens: PathConfigMap; }; type NavigateAction = { type: 'NAVIGATE'; payload: { name: string; params?: NavigatorScreenParams; path?: string; }; }; export default function getActionFromState(state: PartialState, options?: Options): NavigateAction | CommonActions.Action | undefined; export {}; //# sourceMappingURL=getActionFromState.d.ts.map