nodelib-fswalk/out/providers/async.d.ts
raw| 1 | import AsyncReader from '../readers/async'; |
| 2 | import type Settings from '../settings'; |
| 3 | import type { Entry, Errno } from '../types'; |
| 4 | export declare type AsyncCallback = (error: Errno, entries: Entry[]) => void; |
| 5 | export default class AsyncProvider { |
| 6 | private readonly _root; |
| 7 | private readonly _settings; |
| 8 | protected readonly _reader: AsyncReader; |
| 9 | private readonly _storage; |
| 10 | constructor(_root: string, _settings: Settings); |
| 11 | read(callback: AsyncCallback): void; |
| 12 | } |