import { z } from 'zod'; import { InputBlockType } from '../enums'; import { PaymentProvider } from './enums'; export type CreditCardDetails = { number: string; exp_month: string; exp_year: string; cvc: string; }; export declare const paymentInputOptionsSchema: z.ZodObject<{ variableId: z.ZodOptional; } & { provider: z.ZodNativeEnum; labels: z.ZodObject<{ button: z.ZodString; success: z.ZodOptional; }, "strip", z.ZodTypeAny, { button: string; success?: string | undefined; }, { button: string; success?: string | undefined; }>; additionalInformation: z.ZodOptional; name: z.ZodOptional; email: z.ZodOptional; phoneNumber: z.ZodOptional; address: z.ZodOptional; line1: z.ZodOptional; line2: z.ZodOptional; state: z.ZodOptional; city: z.ZodOptional; postalCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; }, { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; }, { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; }>>; credentialsId: z.ZodOptional; currency: z.ZodString; amount: z.ZodOptional; retryMessageContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { labels: { button: string; success?: string | undefined; }; provider: PaymentProvider; currency: string; variableId?: string | undefined; retryMessageContent?: string | undefined; additionalInformation?: { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; } | undefined; credentialsId?: string | undefined; amount?: string | undefined; }, { labels: { button: string; success?: string | undefined; }; provider: PaymentProvider; currency: string; variableId?: string | undefined; retryMessageContent?: string | undefined; additionalInformation?: { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; } | undefined; credentialsId?: string | undefined; amount?: string | undefined; }>; export declare const paymentInputRuntimeOptionsSchema: z.ZodObject<{ paymentIntentSecret: z.ZodString; amountLabel: z.ZodString; publicKey: z.ZodString; }, "strip", z.ZodTypeAny, { paymentIntentSecret: string; amountLabel: string; publicKey: string; }, { paymentIntentSecret: string; amountLabel: string; publicKey: string; }>; export declare const paymentInputSchema: z.ZodObject<{ id: z.ZodString; groupId: z.ZodString; outgoingEdgeId: z.ZodOptional; } & { type: z.ZodEnum<[InputBlockType.PAYMENT]>; options: z.ZodObject<{ variableId: z.ZodOptional; } & { provider: z.ZodNativeEnum; labels: z.ZodObject<{ button: z.ZodString; success: z.ZodOptional; }, "strip", z.ZodTypeAny, { button: string; success?: string | undefined; }, { button: string; success?: string | undefined; }>; additionalInformation: z.ZodOptional; name: z.ZodOptional; email: z.ZodOptional; phoneNumber: z.ZodOptional; address: z.ZodOptional; line1: z.ZodOptional; line2: z.ZodOptional; state: z.ZodOptional; city: z.ZodOptional; postalCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; }, { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; }, { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; }>>; credentialsId: z.ZodOptional; currency: z.ZodString; amount: z.ZodOptional; retryMessageContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { labels: { button: string; success?: string | undefined; }; provider: PaymentProvider; currency: string; variableId?: string | undefined; retryMessageContent?: string | undefined; additionalInformation?: { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; } | undefined; credentialsId?: string | undefined; amount?: string | undefined; }, { labels: { button: string; success?: string | undefined; }; provider: PaymentProvider; currency: string; variableId?: string | undefined; retryMessageContent?: string | undefined; additionalInformation?: { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; } | undefined; credentialsId?: string | undefined; amount?: string | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; type: InputBlockType.PAYMENT; groupId: string; options: { labels: { button: string; success?: string | undefined; }; provider: PaymentProvider; currency: string; variableId?: string | undefined; retryMessageContent?: string | undefined; additionalInformation?: { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; } | undefined; credentialsId?: string | undefined; amount?: string | undefined; }; outgoingEdgeId?: string | undefined; }, { id: string; type: InputBlockType.PAYMENT; groupId: string; options: { labels: { button: string; success?: string | undefined; }; provider: PaymentProvider; currency: string; variableId?: string | undefined; retryMessageContent?: string | undefined; additionalInformation?: { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; } | undefined; credentialsId?: string | undefined; amount?: string | undefined; }; outgoingEdgeId?: string | undefined; }>; export declare const defaultPaymentInputOptions: PaymentInputOptions; export type PaymentInputBlock = z.infer; export type PaymentInputOptions = z.infer; export type PaymentInputRuntimeOptions = z.infer; export type PaymentAddress = NonNullable['address']; //# sourceMappingURL=schemas.d.ts.map