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