import { h, FunctionalComponent, JSX, ComponentType, ComponentProps } from "preact"; export declare const __HeadContext: import("preact").Context<{ head: { current: any[]; }; }>; /** @internal */ export declare const __InternalDocContext: import("preact").Context; interface RenderPageResult { __renderPageResult: any; [key: string]: any; } export declare const defineDocument: >(Document: T, ctx: { prepare: (ctx: { renderPage: () => Promise; }) => Promise, "children"> & RenderPageResult>; }) => T & { prepare: (ctx: { renderPage: () => Promise; }) => Promise, "children"> & RenderPageResult>; }; export declare const Document: (() => h.JSX.Element) & { prepare: (ctx: { renderPage: () => Promise; }) => Promise & RenderPageResult>; }; export declare const Html: FunctionalComponent>; export declare const Main: FunctionalComponent, "id" | "dangerouslySetInnerHTML" | "children">>; export declare const Head: FunctionalComponent>; export declare const MicrositeScript: FunctionalComponent; export {};