interface UseNavPromptOptions { /** Whether navigation should be blocked. */ shouldBlock?: boolean; } interface UseNavPromptReturn { /** Whether a navigation attempt is currently blocked. */ isBlocked: boolean; /** Unblock and continue the pending navigation. */ continueNavigation: () => void; /** Dismiss the prompt without navigating. */ hidePrompt: () => void; } declare const useNavPrompt: ({ shouldBlock, }: UseNavPromptOptions) => UseNavPromptReturn; export { useNavPrompt }; export type { UseNavPromptOptions, UseNavPromptReturn };