import { Response } from 'express'; import * as minio from 'minio'; import { MinioConfigObject } from './storage.config'; import { FileInfo, IStorageEngine, ResolverOpts, SavedFile } from './storage.engines'; export declare class MinioStorage implements IStorageEngine { private readonly defaultBucket; private readonly config; private readonly configObject; constructor(configure: () => MinioConfigObject, opts?: { defaultBucket?: string; }); get client(): minio.Client; resolveUrl(opts: ResolverOpts): Promise; resolveUrl(opts: ResolverOpts, res: Response): Promise; saveEntity(file: FileInfo, opts?: { bucket?: string; prefix?: string; region?: string; }): Promise; listEntities({ bucket, prefix }: { bucket?: string; prefix?: string; }): Promise; getEntity(fileInfo: SavedFile, destDirectory?: string): Promise; removeEntities({ bucket, prefix, filename, }: { bucket?: string; prefix?: string; filename?: string; }): Promise; }