import type { SvgNode } from './svgnode.js'; import { Context } from '../context/context.js'; import { GraphicsNode } from './graphicsnode.js'; import type { Rect } from '../utils/geometry.js'; import type { Matrix } from '../jspdf.js'; export declare const dataUriRegex: RegExp; export declare class ImageNode extends GraphicsNode { private readonly imageLoadingPromise; private readonly imageUrl; constructor(element: Element, children: SvgNode[]); protected renderCore(context: Context): Promise; protected getBoundingBoxCore(context: Context): Rect; computeNodeTransformCore(context: Context): Matrix; isVisible(parentVisible: boolean, context: Context): boolean; static fetchImageData(imageUrl: string): Promise<{ data: string; format: string; }>; static fetchImage(imageUrl: string): Promise; static getMimeType(format: string): string; static getImageDimensions(src: string): Promise<[number, number]>; } //# sourceMappingURL=image.d.ts.map