import { AppCacheGroupAxis } from "../types"; /** * The grouping axes available for the app-caches breakdown. "none" is not an * axis - a flat list is simply an empty hierarchy. */ export declare const APP_CACHE_GROUP_AXES: AppCacheGroupAxis[]; /** * Default grouping hierarchy: safety tier first (risk-forward, the right * default for a safety-oriented cleaner), then cache kind, then app. */ export declare const DEFAULT_GROUP_HIERARCHY: AppCacheGroupAxis[]; export declare function isGroupAxis(value: string): value is AppCacheGroupAxis; /** * Coerce an arbitrary value (a config array, a CLI comma-list string, a single * axis, or "none"/blank) into an ordered, de-duplicated axis hierarchy. * Unknown axes are dropped; "none" or blank yields a flat list (`[]`). */ export declare function normalizeHierarchy(value: unknown): AppCacheGroupAxis[]; /** * Resolve the effective hierarchy from a stored config value. `undefined` falls * back to the default; any defined value (including `[]`) is honored after * normalization, so a user can explicitly choose a flat list. */ export declare function resolveStoredHierarchy(stored: unknown): AppCacheGroupAxis[]; /** Human-readable hierarchy label, e.g. "tier → kind → app" or "flat". */ export declare function formatHierarchy(hierarchy: AppCacheGroupAxis[]): string; //# sourceMappingURL=groupHierarchy.d.ts.map