import type { UpdateUserDto } from '../models/UpdateUserDto'; import type { UserEntity } from '../models/UserEntity'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class User { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Get current user * This endpoint can be used to find out about the currently authorized user. USER and ADMIN can use endpoint. * @returns UserEntity User was successfully returned * @throws ApiError */ findOne(): CancelablePromise; /** * Update current user * This endpoint can be used to update the currently authorized user. ADMIN ONLY. * @returns UserEntity User was successfully updated * @throws ApiError */ update({ requestBody, }: { requestBody: UpdateUserDto; }): CancelablePromise; }