import { IdentityProviderUserWithRoles, InternalApiInput, InternalApiResult } from "@kottster/common"; import { Action } from "../models/action.model"; /** * Update the user */ export declare class UpdateUser extends Action { execute({ userId, user, newPassword }: InternalApiInput<'updateUser'>, currentUser: IdentityProviderUserWithRoles): Promise>; private updateCurrentUser; private updateOtherUser; private prepareResponse; }