import { NosClient, PutObjectParams } from '@xgheaven/nos-node-sdk'; declare class NosAction { cdn_prefix: string; client: NosClient; oriOptions: IF_NOS_CLIENT_ORIGIN_OPTIONS; cdnOptions: IF_NOS_CLIENT_CDN_OPTIONS; constructor(); /** * @event 初始化客户端 */ initClient(options: IF_NOS_CLIENT_ORIGIN_OPTIONS): Promise; makeCdnOptions(opts: IF_NOS_CLIENT_ORIGIN_OPTIONS): void; makePutObjectParams(data: IF_NOS_NEED_PUT_FILE_INFO): PutObjectParams; uploadFile(fileInfo: IF_NOS_NEED_PUT_FILE_INFO): Promise; } export default NosAction;