import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CreateRunTransfer, CreateRunTransfer$Outbound } from "./createruntransfer.js"; /** * Defines configuration for recurring transfers. */ export type Recur = { /** * RRule as defined by RFC 5545 (https://www.rfc-editor.org/rfc/rfc5545#section-3.3.10). * * @remarks * Generators available online at the following sites - https://freetools.textmagic.com/rrule-generator, https://jkbrzt.github.io/rrule/ */ recurrenceRule: string; /** * Defines the attributes of a transfer. */ runTransfer: CreateRunTransfer; /** * True if the RRule set runs indefinitely. */ indefinite?: boolean | undefined; start?: Date | undefined; }; /** @internal */ export declare const Recur$inboundSchema: z.ZodType; /** @internal */ export type Recur$Outbound = { recurrenceRule: string; runTransfer: CreateRunTransfer$Outbound; indefinite?: boolean | undefined; start?: string | undefined; }; /** @internal */ export declare const Recur$outboundSchema: z.ZodType; export declare function recurToJSON(recur: Recur): string; export declare function recurFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=recur.d.ts.map