import { SourcePath } from '../common/types'; export declare class ForceIgnore { static readonly FILE_NAME = ".forceignore"; private static readonly findCache; private static emptySingleton; private readonly parser?; private readonly forceIgnoreDirectory?; private DEFAULT_IGNORE; constructor(forceIgnorePath?: string); /** * Performs an upward directory search for a `.forceignore` file and returns a * `ForceIgnore` object based on the result. If there is no `.forceignore` file, * the returned `ForceIgnore` object will accept everything. * * Parsed files are cached by absolute path and invalidated when `mtime` or `size` changes on disk. * * @param seed Path to begin the `.forceignore` search from */ static findAndCreate(seed: SourcePath): ForceIgnore; /** @internal clears module cache; for unit tests only */ static clearCacheForTest(): void; denies(fsPath: SourcePath): boolean; accepts(fsPath: SourcePath): boolean; }