/** * Utilities for checking if files are gitignored. * Used by file-crawler and link validation. * * @deprecated This module uses pattern-based checking which doesn't respect tracked files. * Use git-utils.ts for authoritative git commands (gitFindRoot, isGitIgnored, gitLsFiles). */ import { type Ignore } from 'ignore'; /** * Load and parse .gitignore files from git root to baseDir. * Returns an ignore instance configured with all applicable .gitignore rules. * * @param gitRoot - Git repository root directory * @param baseDir - Base directory being checked (optional, defaults to gitRoot) * @returns Configured ignore instance, or null if no gitignore files found */ export declare function loadGitignoreRules(gitRoot: string, baseDir?: string): Ignore | null; //# sourceMappingURL=gitignore-checker.d.ts.map