import { BaseHelper } from '../../base/base.helper'; import { Client, ClientOptions } from 'minio'; import { Readable } from 'node:stream'; export interface IUploadFile { originalname: string; mimetype: string; buffer: Buffer; size: number; encoding: string; [key: string | symbol]: any; } export declare class MinioHelper extends BaseHelper { client: Client; constructor(options: ClientOptions); isBucketExists(opts: { name: string; }): Promise; getBuckets(): Promise; getBucket(opts: { name: string; }): Promise; createBucket(opts: { name: string; }): Promise; removeBucket(opts: { name: string; }): Promise; getFileType(opts: { mimeType: string; }): "unknown" | "image" | "video" | "text"; upload(opts: { bucket: string; files: Array; }): Promise; getFile(opts: { bucket: string; name: string; options?: { versionId?: string; SSECustomerAlgorithm?: string; SSECustomerKey?: string; SSECustomerKeyMD5?: string; }; }): Promise; getStat(opts: { bucket: string; name: string; }): Promise; removeObject(opts: { bucket: string; name: string; }): Promise; removeObjects(opts: { bucket: string; names: Array; }): Promise; getListObjects(opts: { bucket: string; prefix?: string; useRecursive?: boolean; }): import("minio").BucketStream; } //# sourceMappingURL=minio.helper.d.ts.map