import * as React from 'react';
import type { DocumentContext } from 'next/document';
export declare function createGetInitialProps({
  setupStyledComponents
}: {
  setupStyledComponents: boolean;
}): (ctx: DocumentContext) => Promise<{
  canonicalAsServer: string;
  analytics: {
    google: string;
    apollo: string;
  };
  userLanguage: string | string[];
  styles: (string | number | bigint | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element)[];
  html: string;
  head?: Array<React.JSX.Element | null>;
  emotionStyleTags: React.ReactElement<unknown>[];
}>;