import { NoParamCallback } from 'fs'; import { Dir, DirentNoPath, FakeFS } from '../FakeFS'; import { Filename, Path } from '../path'; export type CustomDirOptions = { onClose?: () => void; }; export declare class CustomDir
implements Dir
{
readonly path: P;
private readonly nextDirent;
private readonly opts;
constructor(path: P, nextDirent: () => DirentNoPath | null, opts?: CustomDirOptions);
closed: boolean;
throwIfClosed(): void;
[Symbol.asyncIterator](): AsyncGenerator (fakeFs: FakeFS , path: P, entries: Array ;