import * as React from 'react'; import { AppType } from 'next/app'; import { EmotionCache } from '@emotion/react'; import type { DocumentContext, DocumentInitialProps } from 'next/document'; interface Plugin { enhanceApp: (App: React.ComponentType>) => (props: any) => React.JSX.Element; resolveProps: (initialProps: DocumentInitialProps) => Promise; } /** * A utility to compose multiple `getInitialProps` functions. */ export declare function createGetInitialProps(plugins: Plugin[]): (ctx: DocumentContext) => Promise; export interface DocumentHeadTagsProps { emotionStyleTags: React.ReactElement[]; } export declare function DocumentHeadTags(props: DocumentHeadTagsProps): import("react/jsx-runtime").JSX.Element; export declare function documentGetInitialProps(ctx: DocumentContext, options?: { emotionCache?: EmotionCache | undefined; plugins?: Plugin[] | undefined; }): Promise | React.JSX.Element; } & DocumentHeadTagsProps>; export {};