1 | import type * as fs from 'node:fs';
|
2 | export interface Entry {
|
3 | dirent: Dirent;
|
4 | name: string;
|
5 | path: string;
|
6 | stats?: Stats;
|
7 | }
|
8 | export type Dirent = fs.Dirent;
|
9 | export type Stats = fs.Stats;
|
10 | export type ErrnoException = NodeJS.ErrnoException;
|
11 | export type AsyncCallback = (error: ErrnoException | null, entries: Entry[]) => void;
|