import { ReadInterface } from './read.interface'; export interface AdapterInterface extends ReadInterface { write(path: string, contents: string | Buffer, config?: any): 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; delete(path: string): Promise; deleteDir(path: string): Promise; createDir(path: string, config?: any): Promise; setVisibility(path: string, visibility: 'public' | 'private'): Promise; }