import { RequestVerificationCode } from './types'; interface SendCodeButtonProps { componentKey: string; emailAddress: string; onRequestVerificationCode: RequestVerificationCode; onError: (error: string) => void; } /** * Button to request a verification code to be sent. * * On click, the button will initiate the request for the backend to send a verification * code to the provided email address. Any errors returned from that call bubble up to * the calling component. * * If the send code request was successful, the pending state is reset and the * verification flow automatically proceeds to the 'enter verification code' step. */ declare const SendCodeButton: React.FC; export default SendCodeButton;