import type { ParagraphStyleCatalog, TextRun } from './model.js'; import type { RunFormatting, RunStyleCatalog } from './run-style-model.js'; export interface RunFormattingContext { paragraphStyleId?: string | undefined; paragraphCatalog?: ParagraphStyleCatalog | undefined; runCatalog?: RunStyleCatalog | undefined; /** Simple table style run formatting for the cell/region containing this run, if any. */ tableStyleRun?: RunFormatting; } /** * Resolves default, style-chain and direct run formatting into one effective * layer for display. Direct properties on `run` and the source catalogs are * never mutated or flattened; this is purely a rendering-time projection. */ export declare function resolveRunFormatting(run: TextRun, context?: RunFormattingContext): RunFormatting; //# sourceMappingURL=run-formatting.d.ts.map