import * as fs from 'fs'; export interface WalkOptions { excludeDirs?: string[]; excludeHiddenDirs?: boolean; maxDepth?: number; filterExt?: string[]; } /** * Generic recursive directory walker with callback pattern. * Replaces 8+ duplicate walk() implementations across analyzers. */ export declare function walkDirectory(dir: string, options: WalkOptions, callback: (fullPath: string, entry: fs.Dirent) => void, depth?: number): void; /** * Collects file paths matching a single extension. * Convenience wrapper for the common "find all .ts files" pattern. */ export declare function findFilesByExtension(dir: string, ext: string, excludeDirs: string[], excludeHiddenDirs?: boolean): string[];