export declare const setCurrentUrl: ({ method, to, }: { method: 'replace' | 'push'; to: string; }) => void;