import { Storage } from '@google-cloud/storage'; import { AdapterInterface } from '../adapter.interface'; import { ListContentsResponse } from '../response/list.contents.response'; import { AbstractAdapter } from './abstract.adapter'; export declare class GoogleStorageAdapter extends AbstractAdapter implements AdapterInterface { protected client: Storage; protected bucket: string; protected options: any; protected resultMap: { body: string; contentType: string; size: string; }; protected metaOptions: never[]; constructor(storageClient: any, bucket: string, prefix?: string, options?: any); getBucket(): string; setBucket(bucket: string): void; getClient(): Storage; protected normalizeResponse(response: any, path: string): any; listContents(directory: string, recursive?: boolean): Promise; write(path: string, contents: string | Buffer, config?: any): Promise; protected upload(path: string, contents: string | Buffer, config?: any): Promise; read(path: string): Promise; delete(path: string): Promise; has(path: string): Promise; readStream(path: string): Promise; getMetadata(path: string): Promise; getSize(path: string): Promise; getMimetype(path: string): Promise; getTimestamp(path: string): Promise; getVisibility(path: string): Promise; protected getRawVisibility(path: string): Promise; writeStream(path: string, resource: any, config?: any): Promise; update(path: string, contents: string, config?: any): Promise; updateStream(path: string, resource: any, config?: any): Promise; rename(path: string, newpath: string): Promise; copy(path: string, newpath: string): Promise; deleteDir(dirname: string): Promise; createDir(dirname: string, config?: any): Promise; setVisibility(path: string, visibility: 'public' | 'private'): Promise; applyPathPrefix(path: any): any; protected getOptionsFromConfig(config: any): any; }