import { z } from 'zod/v4'; export declare enum NodeType { Action = "action", Condition = "condition", Trigger = "trigger", Start = "start", End = "end", Checkpoint = "checkpoint" } export type ActionNode = z.infer; export type ConditionNode = z.infer; export type TriggerNode = z.infer; export type StartNode = z.infer; export type EndNode = z.infer; export type Node = z.infer; export type NodeEdge = z.infer; export declare const nodeIdSchema: z.ZodString; export declare const baseNodeSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const actionNodeSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; layerId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; layerName: z.ZodOptional; operator: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; key: z.ZodString; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; eventName: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; url: z.ZodString; method: z.ZodEnum; headers: z.ZodOptional>; body: z.ZodOptional; includeCustomAttributes: z.ZodOptional; customAttributesPath: z.ZodOptional; }, z.core.$strip>]>; }, z.core.$strip>; export declare const conditionNodeSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; eventType: z.ZodEnum; tags: z.ZodDefault>>; selector: z.ZodOptional; key: z.ZodOptional; url: z.ZodOptional; value: z.ZodNumber; operator: z.ZodEnum<{ readonly Equals: import("./Operator").NumericOperator.Equals; readonly NotEquals: import("./Operator").NumericOperator.NotEquals; readonly GreaterThan: import("./Operator").NumericOperator.GreaterThan; readonly LessThan: import("./Operator").NumericOperator.LessThan; readonly GreaterThanOrEquals: import("./Operator").NumericOperator.GreaterThanOrEquals; readonly LessThanOrEquals: import("./Operator").NumericOperator.LessThanOrEquals; }>; from: z.ZodEnum; direction: z.ZodOptional>; threshold: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; key: z.ZodString; value: z.ZodString; operator: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").StringOperator.Is; readonly IsNot: import("./Operator").StringOperator.IsNot; readonly Contains: import("./Operator").StringOperator.Contains; readonly DoesNotContains: import("./Operator").StringOperator.DoesNotContains; readonly StartsWith: import("./Operator").StringOperator.StartsWith; readonly EndsWith: import("./Operator").StringOperator.EndsWith; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"url">; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").StringOperator.Is; readonly IsNot: import("./Operator").StringOperator.IsNot; readonly Contains: import("./Operator").StringOperator.Contains; readonly DoesNotContains: import("./Operator").StringOperator.DoesNotContains; readonly StartsWith: import("./Operator").StringOperator.StartsWith; readonly EndsWith: import("./Operator").StringOperator.EndsWith; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodNumber; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodBoolean; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>]>]>; }, z.core.$strip>; export declare const triggerNodeSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; eventType: z.ZodEnum; key: z.ZodOptional; selector: z.ZodOptional; tags: z.ZodArray; direction: z.ZodOptional>; threshold: z.ZodOptional; thresholdUnit: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; name: z.ZodString; webhookId: z.ZodString; activationTimeThreshold: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodNumber; }, z.core.$strip>]>; }, z.core.$strip>; export declare const startNodeSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>; export declare const endNodeSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>; export declare const checkpointSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>; export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; layerId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; layerName: z.ZodOptional; operator: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; key: z.ZodString; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; eventName: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; url: z.ZodString; method: z.ZodEnum; headers: z.ZodOptional>; body: z.ZodOptional; includeCustomAttributes: z.ZodOptional; customAttributesPath: z.ZodOptional; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; eventType: z.ZodEnum; tags: z.ZodDefault>>; selector: z.ZodOptional; key: z.ZodOptional; url: z.ZodOptional; value: z.ZodNumber; operator: z.ZodEnum<{ readonly Equals: import("./Operator").NumericOperator.Equals; readonly NotEquals: import("./Operator").NumericOperator.NotEquals; readonly GreaterThan: import("./Operator").NumericOperator.GreaterThan; readonly LessThan: import("./Operator").NumericOperator.LessThan; readonly GreaterThanOrEquals: import("./Operator").NumericOperator.GreaterThanOrEquals; readonly LessThanOrEquals: import("./Operator").NumericOperator.LessThanOrEquals; }>; from: z.ZodEnum; direction: z.ZodOptional>; threshold: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; key: z.ZodString; value: z.ZodString; operator: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").StringOperator.Is; readonly IsNot: import("./Operator").StringOperator.IsNot; readonly Contains: import("./Operator").StringOperator.Contains; readonly DoesNotContains: import("./Operator").StringOperator.DoesNotContains; readonly StartsWith: import("./Operator").StringOperator.StartsWith; readonly EndsWith: import("./Operator").StringOperator.EndsWith; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"url">; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").StringOperator.Is; readonly IsNot: import("./Operator").StringOperator.IsNot; readonly Contains: import("./Operator").StringOperator.Contains; readonly DoesNotContains: import("./Operator").StringOperator.DoesNotContains; readonly StartsWith: import("./Operator").StringOperator.StartsWith; readonly EndsWith: import("./Operator").StringOperator.EndsWith; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodNumber; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodBoolean; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>]>]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; eventType: z.ZodEnum; key: z.ZodOptional; selector: z.ZodOptional; tags: z.ZodArray; direction: z.ZodOptional>; threshold: z.ZodOptional; thresholdUnit: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; name: z.ZodString; webhookId: z.ZodString; activationTimeThreshold: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodNumber; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>]>; export declare const createNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; layerId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; layerName: z.ZodOptional; operator: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; key: z.ZodString; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; eventName: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; url: z.ZodString; method: z.ZodEnum; headers: z.ZodOptional>; body: z.ZodOptional; includeCustomAttributes: z.ZodOptional; customAttributesPath: z.ZodOptional; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; eventType: z.ZodEnum; tags: z.ZodDefault>>; selector: z.ZodOptional; key: z.ZodOptional; url: z.ZodOptional; value: z.ZodNumber; operator: z.ZodEnum<{ readonly Equals: import("./Operator").NumericOperator.Equals; readonly NotEquals: import("./Operator").NumericOperator.NotEquals; readonly GreaterThan: import("./Operator").NumericOperator.GreaterThan; readonly LessThan: import("./Operator").NumericOperator.LessThan; readonly GreaterThanOrEquals: import("./Operator").NumericOperator.GreaterThanOrEquals; readonly LessThanOrEquals: import("./Operator").NumericOperator.LessThanOrEquals; }>; from: z.ZodEnum; direction: z.ZodOptional>; threshold: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; key: z.ZodString; value: z.ZodString; operator: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").StringOperator.Is; readonly IsNot: import("./Operator").StringOperator.IsNot; readonly Contains: import("./Operator").StringOperator.Contains; readonly DoesNotContains: import("./Operator").StringOperator.DoesNotContains; readonly StartsWith: import("./Operator").StringOperator.StartsWith; readonly EndsWith: import("./Operator").StringOperator.EndsWith; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"url">; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").StringOperator.Is; readonly IsNot: import("./Operator").StringOperator.IsNot; readonly Contains: import("./Operator").StringOperator.Contains; readonly DoesNotContains: import("./Operator").StringOperator.DoesNotContains; readonly StartsWith: import("./Operator").StringOperator.StartsWith; readonly EndsWith: import("./Operator").StringOperator.EndsWith; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum<{ readonly Is: import("./Operator").BooleanOperator.Is; readonly IsNot: import("./Operator").BooleanOperator.IsNot; }>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodString; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodNumber; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ valueType: z.ZodLiteral; value: z.ZodBoolean; operator: z.ZodEnum; type: z.ZodLiteral<"webhookRequest">; key: z.ZodString; from: z.ZodEnum; webhookId: z.ZodString; }, z.core.$strip>]>]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral; eventType: z.ZodEnum; key: z.ZodOptional; selector: z.ZodOptional; tags: z.ZodArray; direction: z.ZodOptional>; threshold: z.ZodOptional; thresholdUnit: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; name: z.ZodString; webhookId: z.ZodString; activationTimeThreshold: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; value: z.ZodNumber; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; label: z.ZodOptional; position: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; type: z.ZodLiteral; data: z.ZodNull; }, z.core.$strip>]>; export declare const nodeEdgeSchema: z.ZodObject<{ id: z.ZodString; source: z.ZodString; target: z.ZodString; sourceHandle: z.ZodOptional>; targetHandle: z.ZodOptional>; }, z.core.$strip>;