UNPKG

@hv-kit/hexpress

Version:

facilitates typescript backend development with express

13 lines 795 B
import { Request, Response, NextFunction } from 'express'; export declare function multerUploadForExtract(dest?: string, configSUP?: any): any; export declare function multerUploadForUpload(dest?: string, configSUP?: any): any; export declare function formidableFormData(dest?: string): (req: Request, res: Response, next: NextFunction) => Promise<void>; export declare function formidableUploadFile(file: any, uploadFolder: string, lang?: 'fr' | 'en'): Promise<string>; declare const _default: { multerUploadForExtract: typeof multerUploadForExtract; multerUploadForUpload: typeof multerUploadForUpload; formidableFormData: typeof formidableFormData; formidableUploadFile: typeof formidableUploadFile; }; export default _default; //# sourceMappingURL=upload.d.ts.map