import { z } from 'zod'; import { ApId } from '../../core/common/id-generator'; import { Permission } from '../../core/common/security/permission'; export type McpId = ApId; export declare const MCP_TRIGGER_PIECE_NAME = "@activepieces/piece-mcp"; export declare enum McpServerStatus { ENABLED = "ENABLED", DISABLED = "DISABLED" } export declare const McpServer: z.ZodObject<{ projectId: z.ZodString; status: z.ZodEnum; token: z.ZodString; enabledTools: z.ZodNullable>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; }, z.core.$strip>; export declare const PopulatedMcpServer: z.ZodObject<{ projectId: z.ZodString; status: z.ZodEnum; token: z.ZodString; enabledTools: z.ZodNullable>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; flows: z.ZodArray>; folderId: z.ZodOptional>; status: z.ZodEnum; publishedVersionId: z.ZodOptional>; metadata: z.ZodOptional>>; operationStatus: z.ZodEnum; timeSavedPerRun: z.ZodOptional>; templateId: z.ZodOptional>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; version: z.ZodObject<{ flowId: z.ZodString; displayName: z.ZodString; trigger: z.ZodUnion; settings: z.ZodObject<{ sampleData: z.ZodOptional; sampleDataInputFileId: z.ZodOptional; lastTestDate: z.ZodOptional; }, z.core.$strip>>; propertySettings: z.ZodRecord; schema: z.ZodOptional; }, z.core.$strip>>; customLogoUrl: z.ZodOptional; pieceName: z.ZodString; pieceVersion: z.ZodString; triggerName: z.ZodOptional; input: z.ZodRecord; }, z.core.$strip>; name: z.ZodString; valid: z.ZodBoolean; displayName: z.ZodString; nextAction: z.ZodOptional; lastUpdatedDate: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; settings: z.ZodAny; name: z.ZodString; valid: z.ZodBoolean; displayName: z.ZodString; nextAction: z.ZodOptional; lastUpdatedDate: z.ZodString; }, z.core.$strip>]>; updatedBy: z.ZodOptional>; valid: z.ZodBoolean; schemaVersion: z.ZodOptional>; agentIds: z.ZodArray; state: z.ZodEnum; connectionIds: z.ZodArray; backupFiles: z.ZodOptional>>; notes: z.ZodArray>; color: z.ZodEnum; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; size: z.ZodObject<{ width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; }, z.core.$strip>; triggerSource: z.ZodOptional; cronExpression: z.ZodString; timezone: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; export type PopulatedMcpServer = z.infer; export type McpServer = z.infer; export declare const UpdateMcpServerRequest: z.ZodObject<{ status: z.ZodOptional>; enabledTools: z.ZodOptional>; }, z.core.$strip>; export type UpdateMcpServerRequest = z.infer; /** Tool definition for MCP: inputSchema is a raw Zod shape (same as MCP expects). */ export type McpToolDefinition = { title: string; description: string; inputSchema: Record; annotations?: { readOnlyHint?: boolean; destructiveHint?: boolean; idempotentHint?: boolean; openWorldHint?: boolean; }; permission?: Permission; execute: (args: Record) => Promise<{ content: Array<{ type: 'text'; text: string; }>; }>; }; //# sourceMappingURL=mcp.d.ts.map