import stream, { Readable } from 'stream'; import { UploadFileType } from '../types/upload-file.type'; import { StorageAdapter } from '../interfaces/storage-adapter.interface'; import { BlobStorageProperties } from '../types/blob-storage-properties.type'; import { BlobUploadHeaders } from '../types/blob-upload-headers.type'; import { BlobSASSignatureValues } from '@azure/storage-blob'; import { ImageDetailType } from '../types/image-detail.type'; import { OptionUploadFileType } from '../types/option-upload-file.type'; import { BlobClient } from '../types/blob-client.type'; import { ImageFormatEnum } from '../enums/image-format.enum'; import { ImageWithThumbnailType } from '../types/image-with-thumbnail.type'; export declare class StorageService { private storage; static instance: StorageService; constructor(storage: StorageAdapter); uploadFile(file: UploadFileType, options?: OptionUploadFileType): Promise; uploadStream(stream: Readable, fileName: string): Promise; copyFileFromUrl(url: string, blobName: string, isPublic?: boolean): any; getFileUrl(blobName: string, expiresOn?: Date, options?: Partial): string | Promise; getPublicUrl(blobName: string): string; deleteIfExists(blobName: string): Promise; deleteFile(blobName: string): Promise; uploadBlobreadable(readable: stream.Readable, blobName: string, httpHeaders?: BlobUploadHeaders): any; createBufferFromBlob(blobName: string): Promise; zipFiles(files: { blobName: string; fileName: string; }[]): Promise; resizeImage(image: any, percentage?: number): Promise; uploadImageWithThumbnail(image: any, fileName?: string): Promise; getFileStream(blobName: string): Promise; getFileBuffer(blobName: string): Promise; getRetrieveFileName(blobName: string): string; getProperties(blobName: string): Promise; convertImagesToPng(data: UploadFileType, imageFormat: ImageFormatEnum): Promise; validateFileImageConvert(mimetype: string): boolean; }