/** 计量面的 `event` 词表(顺序 = HELP 行里的出现顺序)。 */ export declare const PERMISSION_RULE_EVENT_TABLE: readonly [{ readonly event: "persisted_rule_allowed"; readonly meaning: "a persisted allow rule authorized the call and nobody was asked"; }, { readonly event: "rule_store_unreadable"; readonly meaning: "the rule store failed to read, so the call was adjudicated with ZERO rules (expect an approval storm whose cause is the store, not the model)"; }, { readonly event: "read_only_allowed"; readonly meaning: "the engine's read-only shell verdict cleared an ask that was NOT an operator-written rule (core decisionReason \"read_only\"; an operator-declared ask carries matchedAskRule and is never cleared this way)"; }]; /** 词表里的一个词(闭集)。 */ export type PermissionRuleEventWord = (typeof PERMISSION_RULE_EVENT_TABLE)[number]["event"]; /** 这一帧是否进 `permission_rule_events_total`(判别式与词表同源,不再手抄第二串 `===`)。 */ export declare function isPermissionRuleEventKind(kind: string): boolean; /** 帧名 → `event` 标签值。调用方须先过 {@link isPermissionRuleEventKind}。 */ export declare function permissionRuleEventWordOf(kind: string): string; /** `/metrics` 的 HELP 行文案(从词表派生 —— 加词自动出现,不存在「第二份会漂的散文」)。 */ export declare function buildPermissionRuleEventsHelp(): string; //# sourceMappingURL=permission-rule-events.d.ts.map