import { AxiosInstance, AxiosResponse } from 'axios'; import { GraphUser } from './user.types'; export declare class Users { private readonly http; constructor(http: AxiosInstance); /** * Gets a user by id or userPrincipalName * https://learn.microsoft.com/en-us/graph/api/user-get * @param id {id | userPrincipalName} */ get(id: string): Promise; /** * Gets a user's by user's id or userPrincipalName * https://learn.microsoft.com/en-us/graph/api/user-list-manager * @param userPrincipalName */ getManager(userPrincipalName: string): Promise; /** * Assigns a user's manager * https://learn.microsoft.com/en-us/graph/api/user-post-manager * @param userPrincipalName * @param managerPrincipalName */ assignManager(userPrincipalName: string, managerPrincipalName: string): Promise>; /** * Removes a user's manager * https://learn.microsoft.com/en-us/graph/api/user-delete-manager * @param userPrincipalName */ removeManager(userPrincipalName: string): Promise>; }