import { z } from 'zod/v4'; import { Direction } from './Direction'; import { TimeRange } from './TimeRange'; import { UserEventType } from './UserEvent'; export declare enum TriggerType { Event = "event", Webhook = "webhook", Delay = "delay" } export declare enum TriggerThresholdUnit { Pixels = "px", Percentage = "%" } export type Trigger = z.infer; export type DelayTrigger = z.infer; export type EventTrigger = z.infer; export type WebhookTrigger = z.infer; export declare const eventTriggerSchema: 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>; export declare const webhookTriggerSchema: z.ZodObject<{ type: z.ZodLiteral; name: z.ZodString; webhookId: z.ZodString; activationTimeThreshold: z.ZodEnum; }, z.core.$strip>; export declare const delayTriggerSchema: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodNumber; }, z.core.$strip>; export declare const triggerSchema: 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>]>;