import { TextRun } from '../../../../contracts/src/index.js'; export type ResolvePhysicalFont = (family: string, face: { weight: '400' | '700'; style: 'normal' | 'italic'; }) => string; /** The same paint-ready typography is consumed by the DOM painter and worker sinks. */ export declare function resolveRunTypographyStyles(run: TextRun, resolvePhysical?: ResolvePhysicalFont): Record; export declare const underlineThicknessPx: (fontSize: number) => number; export declare function resolveRunDecorationStyles(run: TextRun): Record;