UNPKG

image-size

Version:
8 lines (5 loc) 538 B
import { IImage } from './interface.js'; declare const typeHandlers: Map<"bmp" | "cur" | "dds" | "gif" | "heif" | "icns" | "ico" | "j2c" | "jp2" | "jpg" | "jxl" | "jxl-stream" | "ktx" | "png" | "pnm" | "psd" | "svg" | "tga" | "tiff" | "webp", IImage>; declare const types: ("bmp" | "cur" | "dds" | "gif" | "heif" | "icns" | "ico" | "j2c" | "jp2" | "jpg" | "jxl" | "jxl-stream" | "ktx" | "png" | "pnm" | "psd" | "svg" | "tga" | "tiff" | "webp")[]; type imageType = (typeof types)[number]; export { type imageType, typeHandlers, types };