/* HELPERS */ type Callback = () => void; /* MAIN */ type Options = { depth?: number, limit?: number, followSymlinks?: boolean, ignore?: (( targetPath: string ) => boolean) | RegExp, signal?: { aborted: boolean } }; type ResultDirectory = { directories: string[], directoriesNames: Set, directoriesNamesToPaths: Record, files: string[], filesNames: Set, filesNamesToPaths: Record, symlinks: string[], symlinksNames: Set, symlinksNamesToPaths: Record }; type ResultDirectories = { [path: string]: ResultDirectory }; type Result = ResultDirectory & { map: ResultDirectories }; /* EXPORT */ export type {Callback, Options, ResultDirectory, ResultDirectories, Result};