export interface IAttachmentProvider { upload(data: string, fileName: string, path: string, resize: boolean, mimeType?: string, isPublic?: boolean): Promise; download(path: string, filename: string, stream?: boolean, isPublic?: boolean): Promise; delete(file: string, isPublic?: boolean): Promise; }