import { Search } from './getUrlWithUpdatedSearch'; /** * Navigate to a new URL or replace the current URL in the browser's history. * @param search - An object or a function that returns an object representing the search parameters to replace/update. * @param replace - A boolean indicating whether to replace the current history entry or add a new one. Default is false. * @example * * // Replace the current entry with a new search parameter * navigate({query: 'test'}, true) * * // Use functions to compute new search parameters based on the current location * navigate((prevSearch) => ({...prevSearch, page: '2'})) */ export declare const navigate: (search: Search, replace?: boolean) => void; //# sourceMappingURL=navigate.d.ts.map