export { parseFontSize } from './fontSize'; export declare type Style = { isBold?: boolean; isItalic?: boolean; hasUnderline?: boolean; hasStrikethrough?: boolean; textColor?: string; highlightColor?: string; fontFamily?: string; fontSize?: string; }; export declare type BooleanStylePropertyName = { [K in keyof Style]-?: Style[K] extends boolean | undefined ? K : never; }[keyof Style]; export declare const DEFAULT_STYLE: Readonly>; export declare function getStyleFromElement(container: Node, element: Element): Style; export declare function applyStyleToElement(element: HTMLElement | SVGElement, style: Style): void; /** Serialize the given style object as an inline CSS string. */ export declare function serializeStyle(style: Style): string;