import { DeltaStatic } from 'react-quill-new';
export declare function normalizeEditorHtml(html: string): string;
export declare function writeLruCacheValue<K, V>(cache: Map<K, V>, key: K, value: V, limit?: number): void;
export declare function preserveWhitespaceHtml(html: string): string;
export declare function sanitizeHtmlToDelta(html: string): DeltaStatic;
export declare function deltaToHtml(delta: DeltaStatic): string;
export declare function truncateDelta(delta: DeltaStatic, maxLength: number): DeltaStatic;
export declare function calculateTextSize(delta: DeltaStatic, imageSizes: Map<string, number>, quality: number): number;
export declare function calculateTextSizeChange(changeDelta: DeltaStatic, previousDelta: DeltaStatic, imageSizes: Map<string, number>, quality: number): number;
