import type { ActorAuthorityBinding, AuthorityResponse, Proposal } from "../types.js"; import type { AuthorityHandler } from "./types.js"; export type CustomConditionEvaluator = (proposal: Proposal, binding: ActorAuthorityBinding) => boolean; export declare class PolicyRulesHandler implements AuthorityHandler { private readonly customEvaluators; registerCustomEvaluator(name: string, evaluator: CustomConditionEvaluator): void; evaluate(proposal: Proposal, binding: ActorAuthorityBinding): Promise; private evaluateCondition; private matchPattern; private applyDecision; } export declare function createPolicyRulesHandler(): PolicyRulesHandler;