import Base, { MaybeRaw } from "../../../Base"; import { AvatarCreated } from "../../../interfaces/dali"; import { User } from "../../../interfaces/idp/user"; export declare class DaliUser extends Base { /** * Creates a default avatar for the requesting user. * @returns Public URL of the created avatar */ createAvatar(raw?: { raw: R; }): Promise>; /** * Deletes the avatar of the requesting user from cloud storage. If you want to update it instead, use updateAvatar(). */ deleteAvatar(raw?: { raw: R; }): Promise>; /** * Updates the avatar of the requesting user. * @param file Image as Javascript File * @returns Public URL of the new avatar */ updateAvatar(file: File, raw?: { raw: R; }): Promise>; protected getEndpoint(endpoint: string): string; }