import { IAddUser, IChangePassword, ILoadUsers, IResendActivationLink, ITeamUserRole, ITeamStats, ITeamUser, IUpdateProfile, IUpdateUser, IDeleteUser, ITeamUserPermission, IResendInvitationLink, IInviteUserLinkResponse, ICreateOrUpdateInviteUserLink, IInviteLinkConfiguration, IUpdateUserExpiration, ITemporaryUserConfiguration } from './interfaces'; import { PaginationResult } from '../interfaces'; import { IUserProfile } from '../users/interfaces'; import { BaseApiClient } from '../BaseApiClient'; export declare class TeamsApi extends BaseApiClient { constructor(appName: string); getProfile: (params?: object) => Promise; updateEmail: (email: string) => Promise; verifyEmail: (email: string, code: string) => Promise; updateProfile: (body: Partial) => Promise; updateProfileImage: (body: FormData) => Promise; /** * change user password by providing current password and the new password. * * @throws exception if the current password incorrect or new password validation failed. * ``authorized user`` */ changePassword: (body: IChangePassword) => Promise; loadUsers: (params: ILoadUsers) => Promise>; addUser: (body: IAddUser) => Promise; deleteUser: (body: IDeleteUser) => Promise; updateUser: (body: IUpdateUser) => Promise; updateUserExpirationTime: (body: IUpdateUserExpiration) => Promise; setPermanentUser: (userId: string) => Promise; getTemporaryUserConfiguration: () => Promise; createInviteUserLink: (body: ICreateOrUpdateInviteUserLink) => Promise; createInviteUserLinkV2: (body: ICreateOrUpdateInviteUserLink) => Promise; updateInviteUserLink: (body: ICreateOrUpdateInviteUserLink) => Promise; deleteInviteUserLink: () => Promise; getInviteUserLink: () => Promise; getInviteLinkConfiguration: () => Promise; loadAvailableRoles: () => Promise; loadAvailablePermissions: () => Promise; loadStats: () => Promise; resendActivationLink: (body: IResendActivationLink) => Promise; resendInvitationLink: (body: IResendInvitationLink) => Promise; resendInvitationLinkToAllTenants: (body: IResendInvitationLink) => Promise; disableUser: (userId: string) => Promise; enableUser: (userId: string) => Promise; } declare const _default: TeamsApi; export default _default;