UNPKG

478 BTypeScriptView Raw
1import AsyncReader from '../readers/async';
2import type Settings from '../settings';
3import type { Entry, Errno } from '../types';
4export declare type AsyncCallback = (error: Errno, entries: Entry[]) => void;
5export 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}