import type { Gitignores } from './glob-core.ts'; export interface CachedGitignoreResult { ignores: Set; unignores: Set; gitignoreFiles: string[]; perDirIgnores: Map; } export declare const initGitignoreCache: (cacheLocation: string) => void; export declare const isGitignoreCacheEnabled: () => boolean; export declare const flushGitignoreCache: () => void; export declare const getCachedGitignore: (cwd: string, workspaceDirs?: Set) => CachedGitignoreResult | undefined; export declare const setCachedGitignore: (cwd: string, workspaceDirs: Set | undefined, gitignoreFiles: string[], ignores: Set, unignores: Set, perDirIgnores: Map) => void;