import type { ReactNode } from 'react'; export interface IParsedHead { elements: ReactNode[]; sources: (string | undefined)[]; } /** * Parse the static head, keeping the original markup of every tag. * React drops what it does not accept as a prop (inline handlers, comments, unknown casing), * so untouched tags are served from their source instead of being rendered again. * Text keeps its position: child indices must match the client's head analysis. */ export declare const parseHead: (html: string) => IParsedHead; /** * Parse markup without a DOM while preserving React attribute conversion. */ export declare const parseRootTag: (html: string) => ReactNode;