import { GetObjectOptions, GetObjectResult, HeadObjectResult, HeadOptions, Option, PutObjectOptions, PutObjectResult, RemoteStorage } from './storage'; export declare class OSSStorage implements RemoteStorage { private ossClient; constructor(option: Option); stat(objectKey: string): Promise; head(objectKey: string, options?: HeadOptions): Promise; put(objectKey: string, filePath: string, options?: PutObjectOptions): Promise; get(objectKey: string, filePath: string, options?: GetObjectOptions): Promise; } export declare function getEndpoint(endpoint: string): Promise;