import * as zod from 'zod'; import { CrossmintIdentityVerificationProps } 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 IdentityVerificationServiceProps = { apiClient: CrossmintApiClient; }; declare function createIdentityVerificationService({ apiClient }: IdentityVerificationServiceProps): { iframe: { getUrl: (props: CrossmintIdentityVerificationProps) => string; createClient: (iframe: HTMLIFrameElement) => IFrameWindow<{ "ui:height.changed": zod.ZodObject<{ height: zod.ZodNumber; }, "strip", zod.ZodTypeAny, { height: number; }, { height: number; }>; "kyc:ready": zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>; "kyc:completed": zod.ZodObject<{ status: zod.ZodEnum<["verified", "pending-review", "pending-manual-review", "declined", "expired", "failed", "unknown"]>; }, "strip", zod.ZodTypeAny, { status: "expired" | "failed" | "unknown" | "verified" | "pending-review" | "pending-manual-review" | "declined"; }, { status: "expired" | "failed" | "unknown" | "verified" | "pending-review" | "pending-manual-review" | "declined"; }>; "kyc:cancelled": zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>; "kyc:error": zod.ZodObject<{ retriable: zod.ZodBoolean; reason: zod.ZodEnum<["widget-unavailable", "invalid-configuration", "invalid-credentials", "provider-error", "unknown"]>; message: zod.ZodString; }, "strip", zod.ZodTypeAny, { message: string; retriable: boolean; reason: "unknown" | "widget-unavailable" | "invalid-configuration" | "invalid-credentials" | "provider-error"; }, { message: string; retriable: boolean; reason: "unknown" | "widget-unavailable" | "invalid-configuration" | "invalid-credentials" | "provider-error"; }>; }, {}>; }; }; export { type IdentityVerificationServiceProps, createIdentityVerificationService };