import { CacheCategory, SafetyTier } from "../types"; /** * Safety tiers ordered from least to most restricted. Used to compare and * filter categories against a cleaning profile. */ export declare const SAFETY_TIER_ORDER: SafetyTier[]; export declare function isSafetyTier(value: string): value is SafetyTier; /** * Display metadata per tier. Colors reference chalk method names so UI code * can apply them without this module depending on chalk. */ export declare const SAFETY_TIER_INFO: Record; /** * Effective safety tier for a category. Categories that predate the safety * field derive a tier from their priority: critical (active in the last day) * maps to caution, low (untouched for 30+ days) maps to safe, everything * else is probably-safe. "manual" is never derived - cleaners must opt in * explicitly. */ export declare function effectiveSafety(category: CacheCategory): SafetyTier; /** * Cleaning profiles: named presets mapping to the set of tiers cleaned * without per-item confirmation. The "manual" tier is intentionally part of * no profile - manual categories always need explicit consent. */ export type CleaningProfileName = "conservative" | "balanced" | "aggressive"; export declare const CLEANING_PROFILES: Record; export declare const DEFAULT_PROFILE: CleaningProfileName; export declare function isCleaningProfileName(value: string): value is CleaningProfileName; /** * Resolve the allowed tiers for a profile name; unknown names fall back to * the default profile. */ export declare function tiersForProfile(profile?: string): SafetyTier[]; /** * Parse a user-supplied comma-separated tier list (e.g. "safe,caution"). * Returns null when any entry is invalid so callers can report it. */ export declare function parseSafetyTiers(input: string): SafetyTier[] | null; //# sourceMappingURL=index.d.ts.map