import { type Ignore } from 'ignore';
/** Clears the memoization cache. Exposed for testing only. */
export declare const clearGitIgnoreFilterCache: () => void;
/**
 * Reads .gitignore from the git repository root and returns
 * an `ignore` instance that can test file paths.
 * Returns `null` if not in a git repo or no .gitignore is found.
 *
 * Result is memoized per working directory to avoid repeated
 * `git rev-parse` subprocess calls (notably during `walk` iterations).
 */
export declare const getGitIgnoreFilter: () => Ignore | null;
