import FullUser from 'common/models/FullUser' ; import { UserProfile , UserPublicProfile } from 'common/models' ; import { Onboard } from 'common/models/dtos/updateUser' ; export interface IUserController { readonly initializing : boolean ; readonly user : FullUser ; readonly accountMissing : boolean ; readonly roleMismatch : boolean ; finishOnBoarding ( data ? ) : Promise < void > ; editProfile ( profile ) : Promise < void > ; saveAvatar ( base64url ) : Promise < void > ; saveAvatar ( blob ) : Promise < void > ; getUserPublicInfo ( uid ) : Promise < UserPublicProfile > ; }