import { NavigationActionType } from '@resourge/history-store/mobile'; /** * Fires before the route changes. * @param beforeURLChange * If result: * `true` routing will occur normally * `false` will prevent route from changing */ export declare const useBeforeURLChange: (beforeURLChange: (url: URL, action: NavigationActionType, next: () => void) => boolean) => void;