interface DirEntry { name: string; isDirectory: boolean; } /** * Thin fs wrapper. All filesystem access goes through this module so that * tests can stub individual functions via `sinon.stub(fsWrapper, 'existsSync')`. * * Exported as a mutable object (not direct function exports) to ensure * property descriptors remain configurable under all module systems. */ declare const fsWrapper: { existsSync(filePath: string): boolean; readFileSync(filePath: string, encoding: BufferEncoding): string; readdirSync(dirPath: string): string[]; readdirTyped(dirPath: string): DirEntry[]; }; export default fsWrapper; //# sourceMappingURL=fsWrapper.d.ts.map