import { NavigationActionType } from '../../types/NavigationActionType'; export type Blocker = (currentUrl: URL, nextUrl: URL, action: T) => boolean; export type BlockerResult = { continueNavigation: () => void; finishBlocking: () => void; isBlocking: boolean; };