/** * Content Rules tools */ import { z } from "zod"; import type { McpToolDefinition, ToolContext, ToolResult } from "../types.js"; /** * Input schema for list_rule_sets */ declare const listRuleSetsInputSchema: z.ZodObject<{ page: z.ZodOptional>; page_size: z.ZodOptional>; site_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { page?: number | undefined; page_size?: number | undefined; site_id?: string | undefined; }, { page?: number | undefined; page_size?: number | undefined; site_id?: string | undefined; }>; export type ListRuleSetsInput = z.infer; /** * Tool definition for list_rule_sets */ export declare const listRuleSetsTool: McpToolDefinition; /** * Execute list_rule_sets */ export declare function executeListRuleSets(input: unknown, context: ToolContext): Promise; /** * Input schema for get_rule_set */ declare const getRuleSetInputSchema: z.ZodObject<{ rule_set_id: z.ZodString; }, "strip", z.ZodTypeAny, { rule_set_id: string; }, { rule_set_id: string; }>; export type GetRuleSetInput = z.infer; /** * Tool definition for get_rule_set */ export declare const getRuleSetTool: McpToolDefinition; /** * Execute get_rule_set */ export declare function executeGetRuleSet(input: unknown, context: ToolContext): Promise; /** * Input schema for evaluate_rules */ declare const evaluateRulesInputSchema: z.ZodObject<{ rule_set_id: z.ZodOptional; content_id: z.ZodOptional; post_id: z.ZodOptional; text: z.ZodOptional; seo_title: z.ZodOptional; seo_description: z.ZodOptional; target_keywords: z.ZodOptional>; save_results: z.ZodDefault>; site_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { save_results: boolean; site_id?: string | undefined; text?: string | undefined; target_keywords?: string[] | undefined; content_id?: string | undefined; rule_set_id?: string | undefined; post_id?: string | undefined; seo_title?: string | undefined; seo_description?: string | undefined; }, { site_id?: string | undefined; text?: string | undefined; target_keywords?: string[] | undefined; content_id?: string | undefined; rule_set_id?: string | undefined; post_id?: string | undefined; seo_title?: string | undefined; seo_description?: string | undefined; save_results?: boolean | undefined; }>; export type EvaluateRulesInput = z.infer; /** * Tool definition for evaluate_rules */ export declare const evaluateRulesTool: McpToolDefinition; /** * Execute evaluate_rules */ export declare function executeEvaluateRules(input: unknown, context: ToolContext): Promise; export declare const CONDITION_TYPES: readonly ["score_threshold", "term_compliance", "verify_chips", "word_count", "meta_required", "link_count", "section_required", "regex_pattern", "competitor_filter"]; declare const createRuleInputSchema: z.ZodObject<{ name: z.ZodString; condition_type: z.ZodEnum<["score_threshold", "term_compliance", "verify_chips", "word_count", "meta_required", "link_count", "section_required", "regex_pattern", "competitor_filter"]>; config: z.ZodOptional>; severity: z.ZodDefault>>; description: z.ZodOptional; fix_hint: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; severity: "error" | "info" | "warning"; condition_type: "word_count" | "score_threshold" | "term_compliance" | "verify_chips" | "meta_required" | "link_count" | "section_required" | "regex_pattern" | "competitor_filter"; description?: string | undefined; config?: Record | undefined; fix_hint?: string | undefined; }, { name: string; condition_type: "word_count" | "score_threshold" | "term_compliance" | "verify_chips" | "meta_required" | "link_count" | "section_required" | "regex_pattern" | "competitor_filter"; description?: string | undefined; severity?: "error" | "info" | "warning" | undefined; config?: Record | undefined; fix_hint?: string | undefined; }>; export type CreateRuleInput = z.infer; export declare const createRuleTool: McpToolDefinition; export declare function executeCreateRule(input: unknown, context: ToolContext): Promise; declare const updateRuleInputSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; severity: z.ZodOptional>; config: z.ZodOptional>; description: z.ZodOptional; fix_hint: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name?: string | undefined; description?: string | undefined; severity?: "error" | "info" | "warning" | undefined; config?: Record | undefined; fix_hint?: string | undefined; }, { id: string; name?: string | undefined; description?: string | undefined; severity?: "error" | "info" | "warning" | undefined; config?: Record | undefined; fix_hint?: string | undefined; }>; export type UpdateRuleInput = z.infer; export declare const updateRuleTool: McpToolDefinition; export declare function executeUpdateRule(input: unknown, context: ToolContext): Promise; declare const deleteRuleInputSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export type DeleteRuleInput = z.infer; export declare const deleteRuleTool: McpToolDefinition; export declare function executeDeleteRule(input: unknown, context: ToolContext): Promise; declare const createRuleSetInputSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; rule_ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; rule_ids?: string[] | undefined; }, { name: string; description?: string | undefined; rule_ids?: string[] | undefined; }>; export type CreateRuleSetInput = z.infer; export declare const createRuleSetTool: McpToolDefinition; export declare function executeCreateRuleSet(input: unknown, context: ToolContext): Promise; export declare const rulesTools: McpToolDefinition[]; export declare const rulesExecutors: Record Promise>; export {}; //# sourceMappingURL=rules.d.ts.map