import type { GetServerSideProps, PreviewData } from 'next'; import type { ParsedUrlQuery } from 'querystring'; import { getTranslationsSnapshot } from 'gt-react'; type GTServerSideProps = { locale: string; enableI18n: boolean; translations: Awaited>; }; export type WithGTServerSideProps = Record> = Props & GTServerSideProps; export declare function withGTServerSideProps = Record, Params extends ParsedUrlQuery = ParsedUrlQuery, Preview extends PreviewData = PreviewData>(getServerSideProps?: GetServerSideProps): GetServerSideProps, Params, Preview>; export {}; //# sourceMappingURL=withGTServerSideProps.d.ts.map