import 'server-only'; import type { GetServerSideProps, GetServerSidePropsContext, PreviewData } from 'next'; import type { ParsedUrlQuery } from 'querystring'; import type { WithGTServerSideProps } from './pages-dir/withGTServerSideProps'; import type { WithGTStaticProps, WithGTStaticPropsFunction } from './pages-dir/withGTStaticProps'; export { Branch } from './branches/Branch'; export { Currency } from './variables/Currency'; export { DateTime } from './variables/DateTime'; export { GTProvider } from './provider/GTProvider'; export { Num } from './variables/Num'; export { Plural } from './branches/Plural'; export { RelativeTime } from './variables/RelativeTime'; export { GtInternalTranslateJsx, T } from './server-dir/buildtime/T'; export { GtInternalVar, Var } from './variables/Var'; export { useLocale } from './request/getLocale'; export { useRegion } from './request/getRegion'; export { useLocaleDirection } from './request/getLocaleDirection'; export { useLocalizeHref } from './link/getLocalizeHref'; export { useTranslations, useMessages, useGT, } from './server-dir/buildtime/strings'; export { Client_LocaleSelector as LocaleSelector } from './utils/client-boundary'; export { Client_RegionSelector as RegionSelector } from './utils/client-boundary'; /** * Placeholder for getTranslationsSnapshot() * This function is for next-pages use, not next-app use */ export declare function getTranslationsSnapshot(_: string): void; /** * Placeholder for parseLocale() * This function is for next-pages use, not next-app use */ export declare function parseLocale(_: GetServerSidePropsContext): string; /** * Placeholder for withGTServerSideProps() * This function is for next-pages use, not next-app use */ export declare function withGTServerSideProps = Record, Params extends ParsedUrlQuery = ParsedUrlQuery, Preview extends PreviewData = PreviewData>(_?: GetServerSideProps): GetServerSideProps, Params, Preview>; /** * Placeholder for withGTStaticProps() * This function is for next-pages use, not next-app use */ export declare const withGTStaticProps: WithGTStaticPropsFunction; export { Derive } from 'gt-react'; export { useDefaultLocale, useLocaleProperties, useLocales } from 'gt-react'; export { decodeMsg, decodeOptions, decodeVars, declareVar, derive, getDefaultLocale, getLocaleProperties, getLocales, resolveCanonicalLocale, getVersionId, gtFallback, mFallback, msg, } from 'gt-react'; export { isLocaleSupported } from './request/localeValidation'; export type { GTTranslationOptions, RuntimeTranslationOptions } from 'gt-react'; export type { WithGTServerSideProps, WithGTStaticProps }; //# sourceMappingURL=index.rsc.d.ts.map