osr-mono/packages/fs/build/utils/tree_walker.d.ts
2025-01-29 17:40:56 +01:00

11 lines
447 B
TypeScript

/// <reference types="node" />
import { Readable } from 'stream';
import { IInspectOptions, INode } from '../interfaces';
export interface IOptions {
inspectOptions: IInspectOptions;
maxLevelsDeep?: number;
user?: any;
}
export declare function sync(path: string, options: IOptions, callback: (path: string, item: INode) => void, currentLevel?: number): void;
export declare function stream(path: string, options: IOptions): Readable;