import React from "react";
//#region src/server/document-initial-head.d.ts
/**
 * True when `_document` supplies its own `getInitialProps`, rather than
 * exposing none or inheriting the shim's default. Comparing against the
 * captured `DEFAULT_GET_INITIAL_PROPS` reference is what distinguishes a user
 * override from the default — extending the shim's `Document` without
 * overriding inherits the same static function.
 *
 * Callers use this to decide whether the render pipeline owes `_document` the
 * full `getInitialProps` contract, since only an override can observe it.
 */
declare function hasUserDocumentGetInitialProps(DocumentComponent: React.ComponentType | null | undefined): boolean;
declare function callDocumentGetInitialProps(DocumentComponent: React.ComponentType | null | undefined, setDocumentInitialHead: ((head: React.ReactNode[]) => void) | undefined): Promise<void>;
//#endregion
export { callDocumentGetInitialProps, hasUserDocumentGetInitialProps };