///
import { GoogleStorageConfig } from "./interfaces/google_storage_config";
declare class GoogleStorage {
private bucketName;
private directory;
private storage;
constructor(config: GoogleStorageConfig);
getSubDirUri(): string;
getGsuitUri(): string;
exist(filePath: string): Promise;
uploadBuffer(filePath: string, buffer: Buffer, makePublic?: boolean, cacheControl?: string, prefix?: string, mimetype?: string): Promise;
uploadFile(filePath: string, makePublic?: boolean, cacheControl?: string, prefix?: string): Promise;
uploadFile2Folder(filePath: string, makePublic?: boolean, cacheControl?: string, prefix?: string): Promise;
getDownloadUrl(filePath: string, prefix?: string): Promise;
downloadFile(filePath: string, localPath: string): Promise;
deleteFile(filePath: string): Promise;
getMetaData(filePath: string): Promise<{
name: any;
bucket: any;
storageClass: any;
id: any;
size: any;
cacheControl: any;
contentType: any;
contentEncoding: any;
mediaLink: any;
metadata: any;
}>;
makePublic(filePath: string): Promise;
moveFile(filePath: string, fileDestPath: string): Promise;
moveUploadedFile(filename: string, fileDestPath: string): Promise;
copyFile(filePath: string, fileDestPath: string): Promise;
listFiles(prefix: string, delimiter?: string): Promise>;
protected createBucket(bucketName: string): Promise;
protected listBucketNames(): Promise;
}
export { GoogleStorageConfig, GoogleStorage };