/** * @file Twilio related API methods */ import { TwilioAttestMobileNumberRequest, TwilioAttestPayload, TwilioConfirmPhoneNumberRequest, TwilioSubmitResult } from '../api_interfaces'; /** * Method initiate attesting a user's phone number with twilio * @export * @async * @method attestMobileNumberWithTwilio * @param args The request object to send to the API * to begin the attestation process * @returns a promise which returns void */ export declare function attestMobileNumberWithTwilio(args: TwilioAttestMobileNumberRequest, payload: TwilioAttestPayload, pbk: string): Promise; /** * Method to confirm a user's phone number with twilio * @export * @async * @method confirmPhoneNumber * @param args object containing the confirmation code sent * to the user's mobile phone * @returns a promise which returns void */ export declare function confirmPhoneNumber(args: TwilioConfirmPhoneNumberRequest, pbk: string): Promise; /** * Method to resend the code meant to * confirm a user's phone number with twilio * * @export * @async * @method resendConfirmationCode * @param attestationTrackingUUID the attestation uuid returned from the attestation start up * @returns a promise which returns void */ export declare function resendConfirmationCode(attestationTrackingUUID: string): Promise;