export type GitignoreRule = { re: RegExp; dirOnly: boolean; }; export declare function parseGitignore(content: string): GitignoreRule[]; export declare function isIgnored(rules: readonly GitignoreRule[], relPath: string, isDir: boolean): boolean;