/**
 * Name of the ignore file that projects can use to skip Lisa files
 */
export declare const LISAIGNORE_FILENAME = ".lisaignore";
/**
 * Parsed ignore patterns from a .lisaignore file
 */
export interface IgnorePatterns {
    /** Raw patterns from the file */
    readonly patterns: readonly string[];
    /** Check if a relative path should be ignored */
    readonly shouldIgnore: (relativePath: string) => boolean;
}
/**
 * Parse a .lisaignore file content into patterns
 * Supports gitignore-style syntax:
 * - Lines starting with # are comments
 * - Empty lines are ignored
 * - Patterns are matched against relative paths
 * - Directory patterns end with /
 * @param content - Raw content of the .lisaignore file
 * @returns Array of parsed patterns
 */
export declare function parseIgnorePatterns(content: string): readonly string[];
/**
 * Check if a relative path matches any of the ignore patterns
 *
 * Gitignore semantics: patterns are evaluated in order and the LAST one to
 * select the path decides, so a `!` line re-includes something an earlier
 * pattern ignored. Previously every pattern was combined with `.some()` and
 * handed to minimatch verbatim, which negates by default — so `!scripts/a.mjs`
 * selected every path that was NOT `scripts/a.mjs`, and one such line reported
 * the entire project as ignored. An ignored path is not a candidate for apply,
 * so that silently switched off Lisa's management of the whole repository, with
 * no error and nothing to notice.
 * @param relativePath - Path relative to project root
 * @param patterns - Array of gitignore-style patterns
 * @returns True if the path should be ignored
 */
export declare function matchesAnyPattern(relativePath: string, patterns: readonly string[]): boolean;
/**
 * Load and parse .lisaignore file from a project directory
 * @param projectDir - Path to the project directory
 * @returns Parsed ignore patterns, or empty patterns if file doesn't exist
 */
export declare function loadIgnorePatterns(projectDir: string): Promise<IgnorePatterns>;
//# sourceMappingURL=ignore-patterns.d.ts.map