export * from '@polotno/core/rich-text-html';
export declare function nativeColorAttribute(property: string): string;
export declare function readNativeColor(el: Element, property: string): string;
export declare function detachNativeColorsInHtml(html: string): string;
export declare function attachNativeColorsInHtml(html: string): string;
export declare function scaleRichTextFontSizesInHtml(html: string, factor: number): string;
export declare function htmlInflatesMinContentWidth(html: string): boolean;
export declare function quillHtmlToModelText(html: string, defaults: {
fontSize: number;
fontFamily: string;
}): string;
export declare function shrinkParagraphStrutForRaster(html: string): string;
export declare function isClipGradientSpan(el: HTMLElement): boolean;
export declare function stripInlineFormat(html: string, format: string): string;
interface QuillDeltaLike {
ops: Array<{
insert?: string | Record;
attributes?: Record;
}>;
}
export declare function isQuillFormatMixed(delta: QuillDeltaLike, key: string): boolean;
export declare function stripInlineFontSizes(html: string): string;
export declare function stripInlineFontFamilies(html: string): string;
export declare function hasMultipleDistinctInlineFontSizes(html: string): boolean;
export declare function listEffectiveFontFamilies(html: string, baseFamily: string): string[];
export declare function listInlineTextColors(html: string): Array<{
index: number;
color: string;
}>;
export declare function setInlineTextColor(html: string, indices: number[], color: string): string;