/** * Test-only normalization helpers for comparing rendered line output * across different rendering contexts (body, table-cell). * * DO NOT import this file from production code. Only *.test.ts and * other test-utils/ files may import from here. */ export interface NormalizedRun { text: string; fontFamily: string | undefined; fontSize: string | undefined; fontWeight: string | undefined; fontStyle: string | undefined; color: string | undefined; textDecoration: string | undefined; backgroundColor: string | undefined; href: string | undefined; target: string | undefined; rel: string | undefined; } export interface NormalizedLine { textAlign: string; wordSpacing: string; runs: NormalizedRun[]; marker?: { text: string; justification: string | undefined; }; } /** * Normalize a single .superdoc-line element into a semantic representation. * Extracts line-level styles (textAlign, wordSpacing) and per-run styles * from child span elements. */ export declare function normalizeLine(lineEl: HTMLElement): NormalizedLine; /** * Find all .superdoc-line elements within a container and normalize them. */ export declare function normalizeLines(container: HTMLElement): NormalizedLine[]; //# sourceMappingURL=normalize-line.d.ts.map