www_hero/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts
sasha-astiadi 324d5960af hero_web
2024-05-03 06:39:20 +02:00

8 lines
524 B
TypeScript

/// <reference types="node" />
import type Settings from '../settings';
import type { Entry } from '../types';
export declare type AsyncCallback = (error: NodeJS.ErrnoException, entries: Entry[]) => void;
export declare function read(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdirWithFileTypes(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdir(directory: string, settings: Settings, callback: AsyncCallback): void;