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