import { ImageCreationConfig } from "../sharedTypes"; import BlobConverter from "./BlobConverter"; declare type ToImageConfig = Required> & { validateImage?: boolean; }; export default class FileConverter extends BlobConverter { constructor(original: File); /** * Convert a File object to an image, whose src is a Blob. * Optionally supply a config object with maxSize, refering to the maximal height or width(depending on the proportions). */ toImage(config?: ToImageConfig): Promise; } export {};