declare const useNavigateWithSearch: () => (to: string) => void; export default useNavigateWithSearch;