import { z } from 'zod'; declare const paymentMethodManagementIncomingEvents: { "ui:height.changed": z.ZodObject<{ height: z.ZodNumber; }, "strip", z.ZodTypeAny, { height: number; }, { height: number; }>; "payment-method:selected": z.ZodAny; "payment-method:ready": z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; "payment-method:change": z.ZodObject<{ mode: z.ZodEnum<["new", "existing"]>; empty: z.ZodBoolean; complete: z.ZodBoolean; }, "strip", z.ZodTypeAny, { mode: "new" | "existing"; empty: boolean; complete: boolean; }, { mode: "new" | "existing"; empty: boolean; complete: boolean; }>; "payment-method:result": z.ZodObject<{ requestId: z.ZodString; result: z.ZodUnion<[z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"selected">; paymentMethod: z.ZodObject<{ type: z.ZodString; paymentMethodId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; paymentMethodId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; paymentMethodId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { status: "selected"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; }, { status: "selected"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; }>, z.ZodObject<{ status: z.ZodLiteral<"saved">; paymentMethod: z.ZodObject<{ type: z.ZodString; paymentMethodId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; paymentMethodId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; paymentMethodId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { status: "saved"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; }, { status: "saved"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; }>, z.ZodObject<{ status: z.ZodLiteral<"invalid">; code: z.ZodCatch>; message: z.ZodString; }, "strip", z.ZodTypeAny, { code: "unknown" | "incomplete_card" | "invalid_billing_address" | "incomplete_bank_account"; message: string; status: "invalid"; }, { message: string; status: "invalid"; code?: unknown; }>, z.ZodObject<{ status: z.ZodLiteral<"failed">; code: z.ZodCatch>; message: z.ZodString; }, "strip", z.ZodTypeAny, { code: "unknown" | "save_failed" | "select_failed"; message: string; status: "failed"; }, { message: string; status: "failed"; code?: unknown; }>, z.ZodObject<{ status: z.ZodLiteral<"unavailable">; code: z.ZodCatch>; message: z.ZodString; }, "strip", z.ZodTypeAny, { code: "unknown" | "not_ready" | "timeout"; message: string; status: "unavailable"; }, { message: string; status: "unavailable"; code?: unknown; }>]>, z.ZodEffects; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodString; message: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodString; message: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { status: "failed"; code: "unknown"; message: string; }, z.objectInputType<{ status: z.ZodString; message: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>; }, "strip", z.ZodTypeAny, { requestId: string; result: { status: "selected"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; } | { status: "saved"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; } | { code: "unknown" | "incomplete_card" | "invalid_billing_address" | "incomplete_bank_account"; message: string; status: "invalid"; } | { code: "unknown" | "save_failed" | "select_failed"; message: string; status: "failed"; } | { code: "unknown" | "not_ready" | "timeout"; message: string; status: "unavailable"; } | { status: "failed"; code: "unknown"; message: string; } | ({ code: "unknown" | "save_failed" | "select_failed"; message: string; status: "failed"; } & { status: "failed"; code: "unknown"; message: string; }) | ({ status: "failed"; code: "unknown"; message: string; } & { code: "unknown" | "save_failed" | "select_failed"; message: string; status: "failed"; }); }, { requestId: string; result: { status: "selected"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; } | { status: "saved"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; } | { message: string; status: "invalid"; code?: unknown; } | { message: string; status: "failed"; code?: unknown; } | { message: string; status: "unavailable"; code?: unknown; } | ({ status: "selected"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; } & { status: string; message?: string | undefined; } & { [k: string]: unknown; }) | ({ status: "saved"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; } & { status: string; message?: string | undefined; } & { [k: string]: unknown; }) | ({ message: string; status: "invalid"; code?: unknown; } & { status: string; message?: string | undefined; } & { [k: string]: unknown; }) | ({ message: string; status: "failed"; code?: unknown; } & { status: string; message?: string | undefined; } & { [k: string]: unknown; }) | ({ message: string; status: "unavailable"; code?: unknown; } & { status: string; message?: string | undefined; } & { [k: string]: unknown; }) | ({ status: string; message?: string | undefined; } & { [k: string]: unknown; } & { status: "selected"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; }) | ({ status: string; message?: string | undefined; } & { [k: string]: unknown; } & { status: "saved"; paymentMethod: { type: string; paymentMethodId: string; } & { [k: string]: unknown; }; }) | ({ status: string; message?: string | undefined; } & { [k: string]: unknown; } & { message: string; status: "invalid"; code?: unknown; }) | ({ status: string; message?: string | undefined; } & { [k: string]: unknown; } & { message: string; status: "failed"; code?: unknown; }) | ({ status: string; message?: string | undefined; } & { [k: string]: unknown; } & { message: string; status: "unavailable"; code?: unknown; }) | ({ status: string; message?: string | undefined; } & { [k: string]: unknown; }); }>; }; type PaymentMethodManagementIncomingEventMap = typeof paymentMethodManagementIncomingEvents; export { type PaymentMethodManagementIncomingEventMap, paymentMethodManagementIncomingEvents };