import type DiscloudApp from "../discloudApp/DiscloudApp"; import Customdomain from "../structures/Customdomain"; import BaseCustomdomainsManager from "./BaseCustomdomainsManager"; /** * Manager for customdomains on Discloud */ export default class CustomdomainsManager extends BaseCustomdomainsManager { #private; constructor(discloudApp: DiscloudApp); /** * @throws `400` * @throws `403` * @throws `404` not found * @throws `409` duplicate * * @param id - You subdomain id. */ create(appId: string, domain: string): Promise; /** * @throws `400` * @throws `403` * @throws `404` not found * * @param domain - You domain id. */ delete(domain: string): Promise; /** * @throws `400` * @throws `403` * @throws `404` not found * * @param domain - You domain id. * @param appId - You app id. */ edit(domain: string, appId: string): Promise; /** * @throws `400` * @throws `403` * @throws `404` not found * @throws `500` external error * * @param domain - You domain id. */ verify(domain: string): Promise; /** * Get information of your customdomain on Discloud. * * @param id - You customdomain id. */ fetch(id: string): Promise; fetch(id?: "all"): Promise>; }