import { Package, XmlElement, XmlNode } from "ooxml.js"; //#region src/edit/docx/image.d.ts interface ImageInit { readonly format: "png" | "jpeg" | "gif"; readonly bytes: Uint8Array; readonly widthPt: number; readonly heightPt: number; readonly altText?: string; } declare function assertDocxWritableImageFormat(format: "png" | "jpeg" | "svg" | "gif"): asserts format is "png" | "jpeg" | "gif"; declare function nextDrawingId(documentRoot: XmlElement): number; declare function buildInlineDrawing(relationshipId: string, widthPt: number, heightPt: number, id: number, altText: string | undefined): XmlElement; interface MediaContext { readonly pkg: Package; readonly partPath: string; readonly mediaDir: string; } declare function insertImageMedia(context: MediaContext, documentRoot: XmlElement, image: ImageInit): XmlNode; //#endregion export { insertImageMedia as a, buildInlineDrawing as i, MediaContext as n, nextDrawingId as o, assertDocxWritableImageFormat as r, ImageInit as t };