/// import * as fs from "fs"; declare namespace RecursiveReaddir { type IgnoreFunction = (file: string, stats: fs.Stats) => boolean; type Ignores = ReadonlyArray; type Callback = (error: Error, files: string[]) => void; interface readDir { (path: string, ignores?: Ignores): Promise; (path: string, callback: Callback): void; (path: string, ignores: Ignores, callback: Callback): void; } } declare var recursiveReadDir: RecursiveReaddir.readDir; export = recursiveReadDir;