import { Fetch } from '../utils'; import { GlobalErrorHandler, User, UserProfile } from '..'; export declare class UserApi { fetchInstance: Fetch; constructor(endpoint: string, token: string, onError?: GlobalErrorHandler); getUserFeatures: () => Promise; updateUser: (user: User) => Promise; updateUserProfile: (userProfile: UserProfile) => Promise; }