import type { ComponentStackFrame } from '../../helpers/parse-component-stack'; /** * * Format component stack into pseudo HTML * component stack is an array of strings, e.g.: ['p', 'p', 'Page', ...] * * For html tags mismatch, it will render it for the code block * * ``` *
* {`
*
*
*
* `}
*
* ```
*
* For text mismatch, it will render it for the code block
*
* ```
* *{` ** ``` * * For bad text under a tag it will render it for the code block, * e.g. "Mismatched Text" under* * `}* "Server Text" (green) * "Client Text" (red) *
** * ``` *
*{` ** ``` * */ export declare function PseudoHtmlDiff({ componentStackFrames, firstContent, secondContent, hydrationMismatchType, reactOutputComponentDiff, ...props }: { componentStackFrames: ComponentStackFrame[]; firstContent: string; secondContent: string; reactOutputComponentDiff: string | undefined; hydrationMismatchType: 'tag' | 'text' | 'text-in-tag'; } & React.HTMLAttributes* * `}*** "Mismatched Text" (red) *
*): import("react/jsx-runtime").JSX.Element;