import { Response } from 'express'; import { QiniuConfigObject } from './storage.config'; import { FileInfo, IStorageEngine, ResolverOpts, SavedFile } from './storage.engines'; export declare class QiniuStorage implements IStorageEngine { private static readonly logger; private readonly config; private readonly configObject; constructor(configure: () => QiniuConfigObject); saveEntity(file: FileInfo, opts?: { bucket?: string; prefix?: string; region?: string; }): Promise; getEntity(fileInfo: SavedFile, toPath?: string): Promise; listEntities(opts: { bucket?: string; prefix?: string; }): Promise; removeEntities(opts: { bucket?: string; prefix?: string; filename?: string; }): Promise; resolveUrl(opts: ResolverOpts): Promise; resolveUrl(opts: ResolverOpts, res: Response): Promise; }