import * as Multer from 'multer';
import { Model } from "../models";
import { Context } from "../context";
export declare class File extends Model {
    origin: string;
    uploader: Multer.Instance;
    private multerUploadPaths(ctx, type, options);
    uploadOne(body: any, ctx?: Context): Promise<{}>;
    uploadMany(body: any, ctx?: Context): Promise<{}>;
    dataURLUploadOne(body: any, ctx?: Context): Promise<{}>;
    dataURLUploadMany(body: any, ctx?: Context): Promise<{}>;
    removeOne(filePath: string, ctx?: Context): Promise<{}>;
    removeMany(filesPaths: string[], ctx?: Context): Promise<{}>;
}
