import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Type of the delay. Currently only 'regular' is supported by the schema. */ export declare const Type: { readonly Regular: "regular"; readonly Timed: "timed"; }; /** * Type of the delay. Currently only 'regular' is supported by the schema. */ export type Type = ClosedEnum; /** * Unit of time for the delay amount. */ export declare const Unit: { readonly Seconds: "seconds"; readonly Minutes: "minutes"; readonly Hours: "hours"; readonly Days: "days"; readonly Weeks: "weeks"; readonly Months: "months"; }; /** * Unit of time for the delay amount. */ export type Unit = ClosedEnum; export type DelayControlDto = { /** * JSONLogic filter conditions for conditionally skipping the step execution. Supports complex logical operations with AND, OR, and comparison operators. See https://jsonlogic.com/ for full typing reference. */ skip?: { [k: string]: any; } | undefined; /** * Type of the delay. Currently only 'regular' is supported by the schema. */ type?: Type | undefined; /** * Amount of time to delay. */ amount?: number | undefined; /** * Unit of time for the delay amount. */ unit?: Unit | undefined; /** * Cron expression for the delay. Min length 1. */ cron?: string | undefined; }; /** @internal */ export declare const Type$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Type$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Unit$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Unit$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const DelayControlDto$inboundSchema: z.ZodType; /** @internal */ export type DelayControlDto$Outbound = { skip?: { [k: string]: any; } | undefined; type: string; amount?: number | undefined; unit?: string | undefined; cron?: string | undefined; }; /** @internal */ export declare const DelayControlDto$outboundSchema: z.ZodType; export declare function delayControlDtoToJSON(delayControlDto: DelayControlDto): string; export declare function delayControlDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=delaycontroldto.d.ts.map