import type { CacheProvider } from './cache-provider.js'; import type { LintResult } from './types.js'; import type { LintDocument } from './environment.js'; export declare const RUNTIME_ERROR_RULE_ID = "rule-execution-error"; export declare class CacheManager { private cache; private fix; private projectRoot; constructor(cache: CacheProvider | undefined, fix: boolean, projectRoot?: string); processDocument(doc: LintDocument, lintFn: (text: string, sourceId: string, docType: string, metadata?: Record) => Promise): Promise; save(): Promise; private canWriteFix; private handleRuntimeError; } //# sourceMappingURL=cache-manager.d.ts.map