import type DiscloudApp from "../discloudApp/DiscloudApp"; import Subdomain from "../structures/Subdomain"; import BaseSubdomainsManager from "./BaseSubdomainsManager"; /** * Manager for subdomains on Discloud */ export default class SubdomainsManager extends BaseSubdomainsManager { #private; constructor(discloudApp: DiscloudApp); /** * @throws `400` * @throws `403` * @throws `409` duplicate * * @param id - You subdomain id. */ create(id: string): Promise; /** * @throws `400` * @throws `403` * @throws `404` not found * @throws `409` duplicate * * @param id - You subdomain id. */ delete(id: string): Promise; /** * Get information of your subdomain on Discloud. * * @throws `403` * * @param id - You subdomain id. */ fetch(id: string): Promise; /** * @throws `403` * @throws `404` not found * * @param id - You subdomain id. */ fetch(id?: "all"): Promise>; }