/** * The browser back/forward and full-unload arm of the navigation guard. While any * guard is armed it intercepts `popstate` — canceling the move by re-pushing the * committed entry, consulting the guards once, and replaying the move on approval — * and installs a `beforeunload` prompt. It attaches the listeners only while armed, * mirroring the registry's armed state into React. */ import type { RefObject } from 'react'; import type { NavigationGuardRegistry } from './guard-registry'; import type { CommittedEntry } from './guarded-navigation'; export declare function useBackForwardGuard(registry: NavigationGuardRegistry, committedRef: RefObject): void; //# sourceMappingURL=use-back-forward-guard.d.ts.map