/** * Handles file system operations for scanning directories and files */ export declare class FileSystemScanner { private ignorePatterns; private gitignoreCache; /** * Scans a directory and returns all file paths, respecting ignore patterns and .gitignore files */ scanDirectory(dirPath: string, baseDir?: string): Promise; /** * Checks if a file path matches any of the default ignore patterns */ private shouldIgnorePath; /** * Parses a .gitignore file if it exists in the current directory */ private parseGitignoreIfExists; /** * Checks if a path is ignored by any .gitignore rule */ private isIgnoredByGitignore; readFileContent(filePath: string): Promise; }