import { ListContentsResponse } from './response/list.contents.response'; export interface AdapterInterface { has(path: string): Promise; read(path: string): Promise; readStream(path: string): Promise; listContents(folder: string, recursive: boolean): Promise; getMetadata(path: string): Promise; getSize(path: string): Promise; getMimetype(path: string): Promise; getTimestamp(path: string): Promise; getVisibility(path: string): Promise<'public' | 'private' | false>; write(path: string, content: string, config?: any): Promise; writeStream(path: string, resource: any, config?: any): Promise; update(path: string, content: string, config?: any): Promise; updateStream(path: string, resource: any, config?: any): Promise; rename(path: string, newPath: string): Promise; copy(path: string, newPath: string): Promise; delete(path: string): Promise; deleteDir(path: string): Promise; createDir(path: string): Promise; setVisibility(path: string, visibility: 'public' | 'private'): Promise; put(path: string, content: string, config?: any): Promise; putStream(path: string, resource: any, config?: any): Promise; readAndDelete(path: string): Promise; }