import { NavigationActionType } from '../../types/NavigationActionType'; import { Blocker, BlockerResult } from './useBlockerTypes'; /** * Creates a custom hook to block or allow route changes based on a blocker function. * @param useBeforeURLChange - Hook to handle the before URL change event. * @returns A custom hook that provides blocking state and functions to control navigation. */ export declare function makeBlocker(useBeforeURLChange: (beforeURLChange: (url: URL, action: T, next: () => void) => boolean) => void): (blocker: Blocker) => BlockerResult;