/** * permissions.rules.* gateway handlers, the settings-domain surface over the * durable user-origin permission rule store. Read/delete only: rules are * WRITTEN by remembered approval decisions (PermissionManager), never minted * ad hoc through the wire, so the store's provenance stays "a user answered * an ask". */ import type { GatewayMethodCatalog } from '../method-catalog.js'; import type { GatewayMethodHandler } from '../method-catalog-shared.js'; import type { UserPermissionRuleStore } from '../../permissions/user-rule-store.js'; export interface PermissionRulesGatewayDeps { readonly userRuleStore: Pick; } export declare function createPermissionRulesListHandler(store: PermissionRulesGatewayDeps['userRuleStore']): GatewayMethodHandler; export declare function createPermissionRulesDeleteHandler(store: PermissionRulesGatewayDeps['userRuleStore']): GatewayMethodHandler; /** Attach the permissions.rules.list/.delete handlers to their descriptors. Missing descriptor is a silent no-op. */ export declare function registerPermissionRulesGatewayMethods(catalog: GatewayMethodCatalog, deps: PermissionRulesGatewayDeps): void; //# sourceMappingURL=permission-rules.d.ts.map