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