11 lines
447 B
TypeScript
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;
|