import { Node as PMNode, Schema } from '@milkdown/kit/prose/model'; export declare const PLATFORM_LIFT_INLINE_IMAGES_META = "platformLiftInlineImages"; export type InlineImageLift = { from: number; to: number; nodes: PMNode[]; }; /** * Find paragraph-level inline images that should become block images: * - paragraph that is only an image (optional whitespace/breaks) * - paragraph that ends with an image after other content (split text + image-block) * * Skips table cells (must stay inline for GFM). */ export declare function collectInlineImageLifts(doc: PMNode, schema: Schema): InlineImageLift[]; /** * Promotes eligible inline `image` nodes to resizable `image-block` after collab sync / parse. */ export declare const platformLiftInlineImages: import('@milkdown/utils').$Prose;