/** Responsive, reflow-based image layout modes (no absolute positioning). */ export type ImageLayout = 'inline' | 'wrap-left' | 'wrap-right' | 'center' | 'full-width'; /** * Map a stored layout value to the current responsive set. Upgrades content * authored under the old fixed-page model (`wrap-text`, `break-text`, * `behind-text`, `in-front-text`) so it keeps a sensible, reflowing layout. */ export declare function normalizeImageLayout(value: string | null | undefined): ImageLayout; /** * Extends the default Image node with a `dataFileId` attribute (rendered as * `data-file-id`, used by the backend to track uploaded files) and an * `imageLayout` attribute (rendered as `data-image-layout`). * * Layout is intentionally NOT baked into an inline `style`: the editor and * viewer stylesheets both key off `data-image-layout`, which is what lets the * layout be responsive (e.g. floats collapse to full-width on mobile). The * content therefore reflows to fit any container instead of living on a fixed * page — see the responsive rules in the editor/viewer CSS. */ export declare const ImageWithFileId: import("@tiptap/core").Node; //# sourceMappingURL=image-with-file-id.d.ts.map