/** * Quill-native persistence for resize/align state. * * Historically this module persisted `width`, `height` and alignment only * as inline styles on the DOM node, which Quill has no knowledge of. That * state was lost on every `getContents()` / `setContents()` round trip * (see GitHub issues #13 and #14). This module registers Parchment * attributors and blot overrides so those three properties become part of * the Quill Delta itself, alongside the existing inline-style behavior * (kept for immediate visual feedback and for consumers that don't use the * Delta API at all). * * `align` is exposed under the Delta attribute name `resizeAlign` rather * than `align` to avoid colliding with Quill's own built-in block-level * `align` format (paragraph text-align), which every default Quill build * already registers. */ export declare const WIDTH_FORMAT = "width"; export declare const HEIGHT_FORMAT = "height"; export declare const ALIGN_FORMAT = "resizeAlign"; export declare const ALT_FORMAT = "alt"; export declare const TITLE_FORMAT = "title"; export declare const VIDEO_FILE_BLOT_NAME = "videoFile"; export type AlignValue = "left" | "center" | "right"; export declare function readAlignValue(node: HTMLElement): AlignValue | undefined; export declare function applyAlignValue(node: HTMLElement, value?: string | null): void; /** * Registers resize-aware `image`, `video` (iframe embed) and `videoFile` * (literal `