/** * Default patterns for .sentoriignore (always excluded unless overridden) */ export declare const DEFAULT_SENTORI_IGNORE: string[]; /** * Parse a .sentoriignore file (gitignore-like syntax). * Returns an array of patterns (strings). * * Supports: * - Comments (#) * - Blank lines (ignored) * - Negation (!) — stored as-is, caller must handle * - Directory markers (trailing /) * - Glob patterns (*, **, ?) */ export declare function parseIgnoreFile(content: string): string[]; /** * Read and parse a .sentoriignore file from a target directory. * Returns merged patterns (defaults + user patterns). * Negation patterns (!) remove matching default patterns. */ export declare function loadIgnorePatterns(targetPath: string): { patterns: string[]; hasFile: boolean; }; /** * Convert .sentoriignore patterns to glob ignore patterns * compatible with the glob library. */ export declare function ignoreToGlobPatterns(patterns: string[]): string[]; /** * Check if a file path matches any of the ignore patterns. * Used for post-filtering files that were already found. */ export declare function shouldIgnoreFile(filePath: string, patterns: string[]): boolean; //# sourceMappingURL=ignore-parser.d.ts.map