declare global { interface Window { __HYDRATION_WARNINGS__: string[]; } } export declare function setupHydrationWarningCapture(): void; /** * Tests that a component hydrates without warnings. * Takes tag name and props, generates both SSR HTML and React element from them. */ export declare function testHydration(tagName: string, props?: Record): Promise; /** * Tests hydration for parent/child component structures. * Takes parent tag, props, and children HTML string. * * This properly includes children in the React tree so that React can detect * hydration mismatches when components modify their light DOM children * (e.g., adding classes, moving children to shadow DOM). */ export declare function testHydrationWithChildren(tagName: string, props: Record, childrenHtml: string): Promise;