import type { GetServerSidePropsContext, PreviewData } from 'next'; import type { ParsedUrlQuery } from 'querystring'; export type PagesRouterLocaleContext = { locale?: string; defaultLocale?: string; }; /** * Read the active locale resolved by Next.js internationalized routing, * retaining the previous request detector as a compatibility fallback. */ export declare function parseLocale(context: GetServerSidePropsContext): string; export declare function resolvePagesRouterLocale(context: PagesRouterLocaleContext): string; //# sourceMappingURL=parseLocale.d.ts.map