import { BoundingBox, Context, Element } from "../base"; export interface ImageStyle { /** * width of image */ width: number; /** * Height of image */ height: number; } /** * `Image` is the equivalent of `` */ export declare class Image implements Element { private src; private style; /** * Create a new image without drawing it * @param src path to the source image. For the sake of everyone involved please use an * absolute path * @param style configuration for the image */ constructor(src: string, style: ImageStyle); width(): number; height(): number; draw(context: Context, box: BoundingBox): void; }