import type { Image } from '../Image.js';
/**
 * Read an image from an HTML image source.
 * @param img - Image source such as an <img> or <svg> element.
 * @returns The read image.
 */
export declare function readImg(img: Extract<CanvasImageSource, Record<'width' | 'height', number>>): Image;
//# sourceMappingURL=readImg.d.ts.map