interface ImageSize { width: number; height: number; } /** * Get the intrinsic width and height of an image. * @param src Image URL */ export declare const getImageSize: (src: string) => Promise; /** * Read an image file as a data URL. * @param file Image file */ export declare const getImageDataURL: (file: File) => Promise; /** * Check whether a string is SVG markup. * @param text Text to validate */ export declare const isSVGString: (text: string) => boolean; /** * Convert SVG markup to a File. * @param svg SVG markup */ export declare const svg2File: (svg: string) => File; export {};