import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { CplaceApiClient } from '../api.js'; export declare const VALIDATOR_TOOL_DEFINITIONS: { readonly cplace_get_validator_by_attribute: { readonly description: "Retrieves the JavaScript validator script and metadata for a specific attribute definition. Returns comprehensive context information including workspace, type, and attribute details along with the validator code if it exists."; readonly inputSchema: { readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly attributeName: z.ZodString; }; readonly annotations: { readonly title: "Get Validator by Attribute"; }; }; readonly cplace_manage_validator: { readonly description: "Create or update JavaScript validators for attribute definitions. Validators are JavaScript functions executed to validate attribute values during page creation and updates."; readonly inputSchema: { readonly operation: z.ZodEnum<["create", "update"]>; readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly attributeName: z.ZodString; readonly script: z.ZodOptional; readonly description: z.ZodOptional; }; readonly annotations: { readonly title: "Manage Validator"; }; }; readonly cplace_delete_validator: { readonly description: "Delete a validator from an attribute definition. After deletion, the attribute will no longer enforce custom validation rules."; readonly inputSchema: { readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly attributeName: z.ZodString; }; readonly annotations: { readonly title: "Delete Validator"; }; }; }; export declare function registerValidatorTools(server: McpServer, client: CplaceApiClient): void; //# sourceMappingURL=validators.d.ts.map