import { Fetch } from '../utils'; import { UserCommunicationProfile, Device, GlobalErrorHandler, NotificationProfile } from '..'; export declare class SettingsApi { fetchInstance: Fetch; constructor(endpoint: string, token: string, onError?: GlobalErrorHandler); deleteDevice: (guid: string) => Promise; generateDeviceToken: () => Promise; getDevices: () => Promise; getNotificationProfiles: () => Promise; sendEmailVerification: () => Promise; sendPhoneVerification: () => Promise; verifyPhoneToken: (sms_verification_token: string) => Promise<{ verified: any; }>; updateDevice: (device: Device) => Promise; updateNotificationProfile: (notificationProfile: NotificationProfile) => Promise; updateUserCommunicationProfile: (userCommunicationProfile: UserCommunicationProfile) => Promise; updatePassword: (params: { new_password: string; new_password_again: string; }) => Promise; getInsightsNotificationProfiles: () => Promise; }