///
import type { IObjectStorage } from './objectStorage';
import type { ObjectData, ObjectItem, AliOSSConfig, ObjectMetadata } from '../../types';
export declare class OSSStorage implements IObjectStorage {
private config?;
private ossClient;
private tokenExpiration;
constructor(config?: AliOSSConfig | undefined);
private buildOSSClient;
private isTokenExpiration;
private getClient;
append(objectName: string, content: string): Promise;
getObjectToBuffer(objectName: string): Promise;
getObjectToStream(objectName: string): Promise;
getObjectToString(objectName: string): Promise;
getObjectToJSON(objectName: string): Promise;
putObject(objectName: string, data: ObjectData, metaData?: ObjectMetadata): Promise;
fPutObject(objectName: string, filePath: string, metaData?: ObjectMetadata): Promise;
fGetObject(objectName: string, filePath: string): Promise;
presignedGetObject(objectName: string): Promise;
presignedPutObject(objectName: string): Promise;
listObjects(prefix: string, recursive?: boolean, maxKeys?: number): Promise;
deleteObject(objectName: string): Promise;
deleteMultiObjects(objectNames: string[]): Promise;
checkObjectNameExist(objectName: string): Promise;
getLastModified(objectName: string): Promise;
}