/** * Fractional baselines for uniform Word paragraphs in the standalone export. * * HTML print snaps each inline baseline to a whole CSS pixel, even with an * explicit fractional line height. An SVG retains the * measured line breaks, uses font advances for plain word positions, and paints baselines at the * font's unrounded ascent. Source paragraph identities and block geometry stay * on the original elements. Complex flow still uses the existing HTML renderer. */ /** A manual width belongs to the contiguous group, including differently styled runs. */ export declare function prepareFitText(root: HTMLElement, checkpoint?: () => void): number; /** Only the measured manual-width carrier is an indivisible pagination atom. */ export declare function isFitTextInlineBox(box: HTMLElement): boolean; /** Run after fonts and natural line heights resolve, before pagination measures them. */ export declare function prepareWordText(root: HTMLElement, checkpoint?: () => void, owners?: 'body' | 'tables' | 'running' | 'all'): number; /** Notes share float flow, so eligibility belongs to the complete pristine registry. */ export declare function createFootnoteTextPreparer(registry: HTMLElement | null, checkpoint?: () => void): (root: HTMLElement) => boolean; /** Match the section band before any paragraph font or line measurement. */ export declare function prepareSectionTextWidths(root: HTMLElement): void; /** Paint prepared paragraphs after the page tree is final. No line or page breaks change here. */ export declare function paintWordText(root: HTMLElement, checkpoint?: () => void): number; //# sourceMappingURL=word-text.d.ts.map