import { UseLocaleProps, UseLocaleResult } from "./useLocale.js"; //#region src/client/useLocalePageRouter.d.ts /** * Hook to manage the current locale in Next.js Page Router. * * This hook provides locale management functionality tailored for the Next.js Page Router, * handling redirections and page reloads upon locale changes. * * @returns An object containing the current locale, path without locale, and functions to update the locale. * * @example * ```tsx * import { useLocalePageRouter } from 'next-intlayer'; * * const MyComponent = () => { * const { setLocale } = useLocalePageRouter(); * * return ( * * ); * }; * ``` */ declare const useLocalePageRouter: ({ onLocaleChange, isCookieEnabled }?: UseLocaleProps) => UseLocaleResult; //#endregion export { useLocalePageRouter }; //# sourceMappingURL=useLocalePageRouter.d.ts.map