//#region src/client/useRewriteURL.d.ts
/**
 * Client-side hook to manage URL rewrites without triggering a router navigation.
 * It uses `window.history.replaceState` to update the URL in the address bar.
 *
 * This hook is useful to "prettify" the URL when the user lands on a canonical path
 * that has a localized alias defined in `intlayer.config.ts`.
 *
 * @example
 * ```tsx
 * import { useRewriteURL } from 'react-intlayer';
 *
 * const MyComponent = () => {
 *   useRewriteURL();
 *
 *   return <div>My Component</div>;
 * };
 * ```
 */
declare const useRewriteURL: () => void;
//#endregion
export { useRewriteURL };
//# sourceMappingURL=useRewriteURL.d.ts.map