import { Run, TextRun } from '../../../../contracts/src/index.js'; import { FragmentRenderContext } from '../renderer.js'; import { BROWSER_DEFAULT_FONT_SIZE } from '../styles.js'; import { RunRenderContext, TrackedChangesRenderConfig } from './types.js'; /** * Applies run styling properties to a DOM element. * * @param element - The HTML element to style * @param run - The run object containing styling information * @param _isLink - Whether this run is part of a hyperlink. Note: This parameter * is kept for API compatibility but no longer affects behavior - * inline colors are now applied to all runs (including links) to * ensure OOXML hyperlink character styles appear correctly. */ export declare const applyRunStyles: (element: HTMLElement, run: Run, _isLink?: boolean) => void; export declare const resolveRunText: (run: Run, context: FragmentRenderContext) => string; export declare const extractLinkData: (run: Run) => import('./types.js').LinkRenderData | null; export declare const renderTextRun: (run: TextRun, context: FragmentRenderContext, renderContext: RunRenderContext, trackedConfig?: TrackedChangesRenderConfig) => HTMLElement | null; export { BROWSER_DEFAULT_FONT_SIZE }; //# sourceMappingURL=text-run.d.ts.map