/** * Default Capability Registry * * Built-in capability definitions for common scopes. Operators override these * via the WYSIWYG editor; the registry is the seed and the fallback when no * override is present. * * Each default capability ships with an operator-authored Cedar fragment that * uses templated placeholders ({{agent_did}}, {{user_did}}, {{org}}, * {{deployment}}). Placeholders are bound at compile time via * `compileSingleCapability` / `compileCapabilitiesToCedar`. * * @module @kya-os/consent/capabilities/registry */ import type { Capability } from "../types/capabilities.types.js"; /** * Default capabilities keyed by capability id. Each entry is a complete * `Capability` record, ready to render or to use as a template the operator * customizes in the WYSIWYG. */ export declare const DEFAULT_CAPABILITIES: Record; /** * Resolve a list of scopes to capability records. Operator overrides win over * the default registry; scopes that match no capability fall through as * "unknown" capabilities so the consent screen can still render them as raw * permission rows. */ export declare function resolveCapabilitiesForScopes(scopes: string[], overrides?: Capability[]): Capability[]; //# sourceMappingURL=registry.d.ts.map