import OSS from 'ali-oss'; interface OssOptionsInterface extends OSS.Options { cname?: string; static?: string; } interface ConfigInterface { limit?: number; refix?: string; debugMode?: boolean; time?: boolean; delDistImg?: boolean; } export interface OssUploaderOptions { oss: OssOptionsInterface; config: ConfigInterface; } export default class OssUploader { private options; private client; constructor(options: OssUploaderOptions); uploader(remotePath: string, localFile: string): Promise<{}>; } export {};