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