/** * Shared HTML serialization utilities for Stencil components * Used by both matchers and snapshot serializers */ export interface SerializeOptions { /** Whether to include shadow DOM in serialization */ serializeShadowRoot?: boolean; /** Whether to prettify the output */ pretty?: boolean; /** Whether to exclude style tags */ excludeStyles?: boolean; } /** * Serialize HTML element to string * Works across mock-doc, jsdom, and happy-dom environments * Uses consistent format across all environments */ export declare function serializeHtml(input: HTMLElement | ShadowRoot | DocumentFragment | string, options?: SerializeOptions): string; /** * Custom HTML prettifier */ export declare function prettifyHtml(html: string): string; /** * Normalize HTML for comparison by removing extra whitespace */ export declare function normalizeHtml(html: string): string; //# sourceMappingURL=html-serializer.d.ts.map