import { NodeTypes, LintMyRideOptions, NodeType } from "../index"; import { Rule, RuleOutput, RuleOutputDecoration } from "../rules"; export declare function visitDir(dir: string, rules: Rule[], options: LintMyRideOptions, direction: 'enter' | 'exit'): Promise>; export declare function visitFile(filePath: string, rules: Rule[], options: LintMyRideOptions, direction: 'enter' | 'exit'): Promise>; export declare type DirNode = NodeType<'Dir'> & { path: string; name: string; children: string[]; }; export declare type FileNode = NodeType<'File'> & { path: string; name: string; contents: string; }; export declare function isDirNode(node: NodeTypes): node is DirNode; export declare function isFileNode(node: NodeTypes): node is FileNode; export declare function isRootDir(node: DirNode): boolean; //# sourceMappingURL=fs.d.ts.map