import { Model } from "@mongez/monpulse"; import { GenericObject } from "@mongez/reinforcements"; import { File } from "./file"; export declare function uploadFromFile(file: File): Promise; export declare function uploadFromUrl(url: string): Promise; /** * Create an uploadable files but with additional data */ export declare function uploadableExtended(options?: GenericObject | ((model: Model) => GenericObject)): (hash: any, column: string, model: Model, sync?: boolean) => Promise; /** * Casts a value to an uploadable object. * If the value is an array, it will return an array of uploadable objects. */ export declare function uploadable(hash: any, column: string, model: Model, sync?: boolean): Promise; //# sourceMappingURL=uploadable.d.ts.map