/** * Cedar Policy Plain-Language Gloss * * Extracts a human-readable summary from a Cedar fragment so the per-row * "View policy" disclosure can display both the raw Cedar and a sentence the * end user can parse without knowing Cedar. * * The implementation is intentionally regex-based and tolerant. We never * promise to gloss every Cedar feature — we promise the gloss is *useful* * for the fragments we ship and authors typically write, and that the * function never throws on novel input (it returns best-effort fields). * * @module @kya-os/consent/cedar/explain */ import type { CedarExplanation } from "../types/capabilities.types.js"; /** * Extract actions, resource expression, and condition clauses from a Cedar * fragment. Returns best-effort fields; missing elements come back empty * rather than throwing. */ export declare function explainCedarFragment(cedar: string): CedarExplanation; //# sourceMappingURL=explain.d.ts.map