/** * Shared .gitignore reading utility. * * Walks up the directory tree collecting .gitignore patterns. * Used by both Glob and Grep tools to respect .gitignore rules. */ /** * Default ignore patterns used when no .gitignore is present, * or merged with .gitignore patterns. */ export declare const DEFAULT_IGNORE_PATTERNS: string[]; /** * Read and parse .gitignore files by walking up from `dir` to the filesystem root. * Returns an array of gitignore patterns (comments and empty lines stripped). */ export declare function readGitignorePatterns(dir: string): Promise; //# sourceMappingURL=gitignore.d.ts.map