import type { Finding } from "../rules/types"; export type ScanCacheOptions = { maxEntries?: number; }; /** * Cache for static rule evaluation results keyed by content hash + rule-pack version. */ export declare class ScanCache { private readonly maxEntries; private readonly entries; constructor(options?: ScanCacheOptions); buildKey(content: string, rulePackVersion: string): string; get(content: string, rulePackVersion: string, filePath: string): Finding[] | undefined; set(content: string, rulePackVersion: string, findings: readonly Finding[]): void; get size(): number; }