export interface UrlChangeDetectionOptions { onUrlChange: () => void; getCurrentUrl?: () => string; } export declare const useUrlChangeDetection: ({ onUrlChange, getCurrentUrl, }: UrlChangeDetectionOptions) => void;