import * as chokidar from 'chokidar'; import type { FsEvent, FileInfo } from '../types'; export declare class Fs { #private; cwd: string; ignored: string[]; /** * Map of files to their details */ protected filesList: Map; protected watcher: Promise; constructor(cwd: string, ignored?: string[]); get ready(): Promise; getFileInfo(relativePath: string): FileInfo | undefined; watch(cb: (events: FsEvent[]) => Promise | void): void; dispose(): Promise; exists(file: string): boolean; read(file: string, encoding?: BufferEncoding): Promise; scan(pattern?: RegExp): FileInfo[]; emitCodeUpdated(): void; addVirtualFile(relativePath: string, sourceFileInfo: FileInfo): void; getPatternScanHash(pattern?: RegExp): string | undefined; protected emit: (event: FsEvent) => void; } //# sourceMappingURL=fs.d.ts.map