/** * Profile change service for @ollaid/native-sso * Uses authenticated IAM endpoints for email / phone change with OTP confirmation. * * @version 2.7.9 */ export type ProfileChangeKind = 'email' | 'phone'; export type ProfileChangeMethod = 'email' | 'phone'; export interface ProfileChangeRequestResponse { success: boolean; message?: string; request_id?: number; method?: ProfileChangeMethod; otp_dev?: string | null; } export interface ProfileChangeVerifyResponse { success: boolean; message?: string; step?: 'pending_new_otp' | 'completed' | string; user?: unknown; } export declare const profileChangeService: { requestEmailChange(newEmail: string, method?: ProfileChangeMethod): Promise; requestPhoneChange(ccphone: string, phone: string, method?: ProfileChangeMethod): Promise; verifyOldOTP(requestId: number, otpCode: string): Promise; verifyNewOTP(requestId: number, otpCode: string): Promise; resendOTP(requestId: number): Promise; switchMethod(requestId: number, method: ProfileChangeMethod): Promise; }; export default profileChangeService;