import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; import { ToolBase } from "../../../shared/index.js"; import { z } from "zod"; declare const paramsSchema: z.ZodObject<{ realmUid: z.ZodString; originationUid: z.ZodString; rules: z.ZodArray; action: z.ZodEnum<{ show: "show"; hide: "hide"; }>; }, z.core.$strip>; conditions: z.ZodUnion; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>]>>; }, z.core.$strip>]>; }, z.core.$strip>>; strategy: z.ZodDefault>; }, z.core.$strip>; export type ParamsSchema = z.infer; declare class RulesManageTool extends ToolBase { protected config: { name: string; description: string; annotations: { title: string; readOnlyHint: boolean; idempotentHint: boolean; destructiveHint: boolean; }; }; protected getParamsSchema(): z.ZodObject<{ realmUid: z.ZodString; originationUid: z.ZodString; rules: z.ZodArray; action: z.ZodEnum<{ show: "show"; hide: "hide"; }>; }, z.core.$strip>; conditions: z.ZodUnion; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ and: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ or: z.ZodArray; operand: z.ZodUnion; subtype: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; }, z.core.$strip>]>>; }, z.core.$strip>]>; }, z.core.$strip>>; strategy: z.ZodDefault>; }, z.core.$strip>; protected getOutputSchema(): z.ZodObject<{ originationId: z.ZodOptional; originationUid: z.ZodOptional; rulesCount: z.ZodOptional; strategy: z.ZodOptional; rules: z.ZodOptional>>; }, z.core.$strip>; protected execute(params: ParamsSchema): Promise; /** * Resolve a rule's identifiers to UUIDs */ private resolveRule; /** * Resolve conditions recursively (handles AND/OR groups) */ private resolveConditions; /** * Count total conditions (including nested) */ private countConditions; } export declare const RulesManage: RulesManageTool; export {}; //# sourceMappingURL=RulesManage.d.ts.map