import * as zod from 'zod'; import { CrossmintEmbeddedCheckoutV3Props } from '../../../types/index.cjs'; import { IFrameWindow } from '@crossmint/client-sdk-window'; import { CrossmintApiClient } from '@crossmint/common-sdk-base'; import '../../../types/events/internal/index.cjs'; import '../../../types/events/internal/events.cjs'; import '../../../types/events/internal/payloads.cjs'; import '../../../types/system.cjs'; import '../../../types/events/public/events.cjs'; import '../../../types/embed/v3/events/incoming.cjs'; import '../../../types/embed/v3/events/outgoing.cjs'; import '../../../types/embed/v3/events/EmbeddedCheckoutV3IFrameEmitter.cjs'; import '../../../types/payment-method-management/events/incoming.cjs'; import '../../../types/payment-method-management/events/outgoing.cjs'; import '../../../types/payment-method-management/events/PaymentMethodManagementIFrameEmitter.cjs'; import '../../../types/payment-method-management/OrderIntents.cjs'; import '../../../types/payment-method-management/PaymentMethodAgenticEnrollment.cjs'; import '../../../types/payment-method-management/VerificationAppearance.cjs'; import '../../../types/identity-verification/events/incoming.cjs'; import '../../../types/identity-verification/events/outgoing.cjs'; import '../../../types/identity-verification/events/IdentityVerificationIFrameEmitter.cjs'; import '../../../types/embedded-offramp/events/incoming.cjs'; import '../../../types/embedded-offramp/events/outgoing.cjs'; import '../../../types/embedded-offramp/events/EmbeddedOfframpIFrameEmitter.cjs'; import '../../../types/cvc-recollection/events/incoming.cjs'; import '../../../types/cvc-recollection/events/outgoing.cjs'; import '../../../types/cvc-recollection/events/CvcRecollectionIFrameEmitter.cjs'; import '../../../types/protected-input/events/incoming.cjs'; import '../../../types/protected-input/events/outgoing.cjs'; import '../../../types/protected-input/events/ProtectedInputIFrameEmitter.cjs'; import '../../../types/CryptoCurrency.cjs'; type CrossmintEmbeddedCheckoutV3ServiceProps = { apiClient: CrossmintApiClient; }; declare function crossmintEmbeddedCheckoutV3Service({ apiClient }: CrossmintEmbeddedCheckoutV3ServiceProps): { iframe: { getUrl: (props: CrossmintEmbeddedCheckoutV3Props) => string; createClient: (iframe: HTMLIFrameElement) => IFrameWindow<{ "ui:height.changed": zod.ZodObject<{ height: zod.ZodNumber; }, "strip", zod.ZodTypeAny, { height: number; }, { height: number; }>; "crypto:load": zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>; "crypto:connect-wallet.show": zod.ZodObject<{ show: zod.ZodBoolean; }, "strip", zod.ZodTypeAny, { show: boolean; }, { show: boolean; }>; "crypto:send-transaction": zod.ZodObject<{ chain: zod.ZodString; serializedTransaction: zod.ZodString; }, "strip", zod.ZodTypeAny, { chain: string; serializedTransaction: string; }, { chain: string; serializedTransaction: string; }>; "crypto:sign-message": zod.ZodObject<{ message: zod.ZodString; }, "strip", zod.ZodTypeAny, { message: string; }, { message: string; }>; "order:updated": zod.ZodObject<{ order: zod.ZodOptional; orderClientSecret: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { order?: any; orderClientSecret?: string | undefined; }, { order?: any; orderClientSecret?: string | undefined; }>; "order:creation-failed": zod.ZodObject<{ errorMessage: zod.ZodString; }, "strip", zod.ZodTypeAny, { errorMessage: string; }, { errorMessage: string; }>; }, { "crypto:load.success": zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>; "crypto:connect-wallet.failed": zod.ZodObject<{ error: zod.ZodString; }, "strip", zod.ZodTypeAny, { error: string; }, { error: string; }>; "crypto:connect-wallet.success": zod.ZodObject<{ address: zod.ZodString; chain: zod.ZodString; walletProviderKey: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { chain: string; address: string; walletProviderKey?: string | undefined; }, { chain: string; address: string; walletProviderKey?: string | undefined; }>; "crypto:send-transaction:success": zod.ZodObject<{ txId: zod.ZodString; }, "strip", zod.ZodTypeAny, { txId: string; }, { txId: string; }>; "crypto:send-transaction:failed": zod.ZodObject<{ error: zod.ZodString; }, "strip", zod.ZodTypeAny, { error: string; }, { error: string; }>; "crypto:sign-message:success": zod.ZodObject<{ signature: zod.ZodString; }, "strip", zod.ZodTypeAny, { signature: string; }, { signature: string; }>; "crypto:sign-message:failed": zod.ZodObject<{ error: zod.ZodString; }, "strip", zod.ZodTypeAny, { error: string; }, { error: string; }>; }>; }; }; export { type CrossmintEmbeddedCheckoutV3ServiceProps, crossmintEmbeddedCheckoutV3Service };