import Element from './element';
export default class ElementImage extends Element {
    src: string;
    source?: HTMLImageElement;
    imageWidth: number;
    imageHeight: number;
    /**
     * 微信小程序需要传递canvas实例
     * @param canvas
     */
    load(canvas?: HTMLCanvasElement): Promise<this>;
}
