import type { ReactNode } from 'react';
type LocaleViewProps = {
/** Used when the URL has no locale segment (single-locale site) or an unknown one. */
defaultLocale: string;
/**
* One pre-rendered view per locale, e.g. { pl: , en: … }.
* Rendered on the SERVER (RSC) and passed in as props — this component only
* picks one, so the content can come from the panel and the route stays static.
*/
views: Record;
};
/**
* Shows the view matching the locale in the current URL (`/en/...` → `en`).
*
* Made for `not-found.tsx`, which receives no `params`: reading the locale with
* `headers()` there turns an SSG/ISR route dynamic ("Page changed from static
* to dynamic at runtime"). `usePathname()` is client-side and static-safe, and
* it also runs during SSR, so the HTML already contains the right language.
*/
export declare function LocaleView({ defaultLocale, views }: LocaleViewProps): import("react/jsx-runtime").JSX.Element;
export {};