import { RenderingContext2D } from '../types'; import BoundingBox from '../BoundingBox'; import Document from './Document'; import RenderedElement from './RenderedElement'; export default class ImageElement extends RenderedElement { type: string; loaded: boolean; protected readonly isSvg: boolean; protected image: CanvasImageSource | string; constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean); protected loadImage(href: string): Promise; protected loadSvg(href: string): Promise; renderChildren(ctx: RenderingContext2D): void; getBoundingBox(): BoundingBox; } //# sourceMappingURL=ImageElement.d.ts.map