UNPKG

upcloud

Version:

A powerful and user friendly npm package for smooth file management and uploads with Cloudinary that integrates Multer to process incoming file requests.

13 lines (10 loc) 517 B
import { UploadApiOptions, UploadApiResponse } from './types.mjs'; declare function uploadFile(filePath: string, options?: UploadApiOptions): Promise<{ status: boolean; statusCode: number; message: string; data: any[]; }>; declare function uploadMultipleFiles(filePaths: string[], options?: UploadApiOptions): Promise<UploadApiResponse[]>; declare function deleteFile(publicId: string, options?: UploadApiOptions): Promise<UploadApiResponse>; export { deleteFile, uploadFile, uploadMultipleFiles };