type OtpSignerFunctions = { /** Whether the OTP signer currently requires authentication (OTP verification). */ needsAuth: boolean; /** Sends a one-time password to the user (via email or phone, depending on the signer type). */ sendOtp: () => Promise; /** Verifies the one-time password entered by the user. */ verifyOtp: (otp: string) => Promise; /** Rejects the current authentication request with an error. */ reject: (error: Error) => void; }; /** * Hook for managing OTP-based signer authentication flows. * Provides OTP send/verify functions for wallets using an email or phone signer. * Must be used within a {@link CrossmintWalletProvider}. */ declare function useWalletOtpSigner(): OtpSignerFunctions; export { type OtpSignerFunctions, useWalletOtpSigner };