import { ErrorUnion, OkUnion } from '../outputs'; /** * Checks the authentication code sent to confirm a new phone number of the user * @param {Object} params * @param {string} [params.code] - Verification code received by SMS, phone call * or flash call * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type CheckChangePhoneNumberCodeMethod = (params: CheckChangePhoneNumberCodeParams, state?: Record) => Promise; export interface CheckChangePhoneNumberCodeParams { /** Verification code received by SMS, phone call or flash call */ code?: string; }