import { Correlation, FileSystem } from './api'; import { InternalEventsEmitter } from './utils'; import { Directory, File, ShallowDirectory, SimpleStats } from './model'; export declare const noConnectionError = "WampClientFileSystem hasn't opened connection yet (forgot to init()?)."; export declare class WampClientFileSystem implements FileSystem { baseUrl: string; private realm; private initTimeout; readonly events: InternalEventsEmitter; private connection; private session?; private realmPrefix?; constructor(baseUrl: string, realm: string, initTimeout?: number); init(): Promise; saveFile(fullPath: string, newContent: string, correlation?: Correlation): Promise; deleteFile(fullPath: string, correlation?: Correlation): Promise; deleteDirectory(fullPath: string, recursive?: boolean, correlation?: Correlation): Promise; ensureDirectory(fullPath: string, correlation?: Correlation): Promise; loadTextFile(fullPath: string): Promise; loadDirectoryTree(fullPath?: string): Promise; loadDirectoryChildren(fullPath: string): Promise<(File | ShallowDirectory)[]>; stat(fullPath: string): Promise; dispose(): void; } //# sourceMappingURL=wamp-client-fs.d.ts.map