//#region src/client/usePathname.d.ts /** * Next.js hook that returns the current pathname with the locale segment removed. * * Wraps Next.js `usePathname()` so it re-renders on client navigations and * appends any search parameters before stripping the locale prefix. * * @returns The current pathname without the locale prefix. * * @example * ```tsx * 'use client'; * * import { usePathname } from 'next-intlayer'; * * const NavItem = ({ href }: { href: string }) => { * const pathname = usePathname(); * return {href}; * }; * ``` */ export declare const usePathname: () => string; //#endregion //# sourceMappingURL=usePathname.d.ts.map