import { type AlternateLinks } from './AlternateLinksContext.js'; /** * Reports the current page's per-locale URLs into AlternateLinksProvider. Render * it on each page (a Server Component computes the links via resolveRoute / * getLocalizedSlugs and passes them down). The switcher then links correctly. * * // page.tsx (RSC) — compute alternates from the resolved route * import { AlternateLinksUpdater } from '@intecion/ipal-kit/client' * const alternates = { pl: '/pl/uslugi/karne', en: '/en/services/criminal' } * return <> * * {/* page content *\/} * * * Renders nothing; it only pushes the links into context on mount/change. */ export declare function AlternateLinksUpdater({ links }: { links: AlternateLinks; }): null;