import type { InlineImage } from './model.js'; import type { RelationshipAllocator } from './relationship-allocator.js'; import { type XmlDocument, type XmlElement } from './xml.js'; export declare function findDrawingChild(run: XmlElement | undefined): XmlElement | undefined; /** * Builds or reuses the run for an inline image. Reuses the original drawing XML verbatim * (patching only extent/alt text) when the run is recognizably the same picture; synthesizes a * minimal, valid `wp:inline` drawing for a newly inserted picture. Refuses to swap one picture's * relationship for another in place rather than silently dropping the original XML. */ export declare function createImageRun(doc: XmlDocument, image: InlineImage, base: InlineImage | undefined, old: XmlElement | undefined, allocator?: RelationshipAllocator): XmlElement; //# sourceMappingURL=write-drawing.d.ts.map