import { RetryPromiseOptions } from './promise-utils'; import { Correlation, EventEmitter, FileSystemReadSync } from './api'; import { Directory, DirectoryContent, File, ShallowDirectory, SimpleStats } from './model'; export declare namespace LocalFileSystem { type Options = RetryPromiseOptions & { correlationWindow: number; noiseReduceWindow: number; }; } export declare class LocalFileSystem implements FileSystemReadSync { baseUrl: string; private options; private readonly eventsManager; readonly events: EventEmitter; private crud; private watcher?; private tempEventsTimers; private lastEvents; constructor(baseUrl: string, options?: LocalFileSystem.Options); private isDuplicatedEvent; init(): Promise; dispose(): void; saveFile(fullPath: string, newContent: string, correlation?: string): Promise; deleteFile(fullPath: string, correlation?: string): Promise; deleteDirectory(fullPath: string, recursive?: boolean, correlation?: string): Promise; ensureDirectory(fullPath: string, correlation?: string): Promise; loadTextFile(fullPath: string): Promise; loadDirectoryTree(fullPath?: string): Promise; loadDirectoryChildren(fullPath: string): Promise<(File | ShallowDirectory)[]>; stat(fullPath: string): Promise; private registerCorrelationForPathsInDir; private registerCorrelator; loadTextFileSync(fullPath: string): string; loadDirectoryTreeSync(fullPath?: string): Directory; loadDirectoryContentSync(fullPath?: string): DirectoryContent; loadDirectoryChildrenSync(fullPath: string): Array; statSync(fullPath: string): SimpleStats; } //# sourceMappingURL=local-fs.d.ts.map