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