import { SafetyTier } from "../types"; /** * Verdict for a discovered cache path. Beyond the four user-facing safety * tiers, the rule engine can also exclude paths entirely: * - "never": not a cache (or user-data adjacent enough that deleting it can * destroy data). Never shown, never cleaned. * - "claimed": already covered by a dedicated cleaner module; excluded from * discovery to avoid double-counting and double-cleaning. */ export type RuleVerdict = SafetyTier | "never" | "claimed"; export interface RuleMatch { verdict: RuleVerdict; reason: string; } /** * Classify a discovered cache directory. First-match-wins over the ordered * rule list; unmatched paths default to "probably-safe" because every * discovery root is a platform cache/log location whose contents apps must * tolerate losing (Apple's Caches API contract, XDG cache spec). */ export declare function classifyCachePath(absolutePath: string): RuleMatch; /** * Top-level discovery roots for the current platform. Computed at call time * so os.homedir()/env mocks and changes are respected. */ export declare function getDiscoveryRoots(): string[]; //# sourceMappingURL=rules.d.ts.map