import { AdapterInterface } from '../adapter.interface'; import { ListContentsResponse } from '../response/list.contents.response'; import { AbstractAdapter } from './abstract.adapter'; export declare class LocalAdapter extends AbstractAdapter implements AdapterInterface { protected permissions: any; protected writeFlags?: string; protected permissionMap: any; constructor(root: string, writeFlags?: string, linkHandling?: number, permissions?: any[]); listContents(directory: string, recursive?: boolean): Promise; protected normalizeResponse(response: any, path: string): Promise; write(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; 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(path: string): Promise; createDir(dirname: string, config?: any): Promise; setVisibility(path: string, visibility: 'public' | 'private'): Promise; protected isDir(root: string): Promise; protected getDirname(path: string): string; protected ensureDirectory(root: string): Promise; }