import type { UserFields } from '@dynamic-labs/sdk-api-core'; export type UpdateUserWithModalParams = { fields: (keyof UserFields)[]; options?: { title?: string; subtitle?: string; submitText?: string; }; }; export type UserInterfaceModuleMessages = { openUserProfile: () => void; hideUserProfile: () => void; openAuthFlow: () => void; hideAuthFlow: () => void; openFundingOptions: () => void; hideFundingOptions: () => void; /** Opens the secret key export for embedded wallets */ revealEmbeddedWalletKey: (params: { type: 'recovery-phrase' | 'private-key'; }) => void; /** Opens the user update modal with specified fields */ updateUserWithModal: (params: UpdateUserWithModalParams) => Promise; /** Prompts the user to authenticate with MFA */ promptMfaAuth: (params?: { createMfaToken?: boolean; }) => Promise; /** Opens the MFA management screen */ openMfaManage: () => void; /** Opens the MFA choose type screen */ openMfaChooseType: () => void; /** Opens the MFA QR code screen */ openMfaQRCode: () => void; /** Opens the MFA OTP verification screen */ openMfaOTPVerification: () => void; /** Opens the MFA view backup codes screen */ openMfaViewBackupCodes: () => void; /** Opens the MFA enter backup codes screen */ openMfaEnterBackupCodes: () => void; /** Closes the MFA management screen */ hideMfaManage: () => void; /** Closes the MFA choose type screen */ hideMfaChooseType: () => void; /** Closes the MFA QR code screen */ hideMfaQRCode: () => void; /** Closes the MFA OTP verification screen */ hideMfaOTPVerification: () => void; /** Closes the MFA view backup codes screen */ hideMfaViewBackupCodes: () => void; /** Closes the MFA enter backup codes screen */ hideMfaEnterBackupCodes: () => void; /** Opens a view that allows the user to upgrade to MPC v3 wallets */ promptUpgradeToDynamicWaasFlow: () => void; authFlowCancelled: () => void; authFlowClosed: () => void; authFlowOpened: () => void; }; export declare const userInterfaceEventNames: ("authFlowCancelled" | "authFlowClosed" | "authFlowOpened")[];