/** * Gets gitignore patterns as an array of individual patterns. * This makes it easier to process and filter files. */ export declare function getGitignorePatterns(workspace: string, exclusionFilter?: string): Promise; /** * Helper function to check if a file matches any of the gitignore patterns * This allows for more accurate pattern matching than trying to use a single combined pattern */ export declare function isFileExcludedByGitignore(filePath: string, workspace: string, exclusionFilter?: string): Promise; export interface DirectoryContent { type: "file" | "directory"; name: string; path: string; depth: number; } export declare function scanDirectory(dir: string, maxDepth: number, cwd?: string, exclusionFilter?: string): Promise;