import Base, { MaybeRaw } from "../../../../../Base"; import { Domain, DomainPatch, DomainSSOConfig } from "../../../../../interfaces/idp/organization/settings/domain"; export declare class IdpDomain extends Base { /** * Retrieves all the Domains associated with a given Organization. * @param orgName Name of Organization * @returns Array of Domains */ getDomains(orgName: string, raw?: { raw: R; }): Promise>; /** * Creates a new Domain for the given Organization * @param orgName Name of the Organization * @param domainName Name of the Domain * @param sso Optional single sign-on configuration, only used for login once the Domain is verified * @returns the created Domain */ createDomain(orgName: string, domainName: string, sso?: DomainSSOConfig, raw?: { raw: R; }): Promise>; /** * Verifies the provided Domain. * @param orgName Name of the organization * @param domainName Name of the Domain * @returns Domain object with domain.verified set to 'true' if verification was succesful. */ verifyDomain(orgName: string, domainName: string, raw?: { raw: R; }): Promise>; /** * Renames a Domain and/or changes its single sign-on configuration. * A renamed Domain is no longer verified and has to be verified again with the same uuid, its SSO configuration is kept. * Setting `sso` replaces the whole configuration, `null` removes it. A left out OIDC `clientSecret` keeps the stored one. * @param orgName Name of the organization * @param domainName Current name of the Domain * @param patch New name and/or SSO configuration * @returns the updated Domain */ patchDomain(orgName: string, domainName: string, patch: DomainPatch, raw?: { raw: R; }): Promise>; /** * Deletes a domain. * @param orgName Name of the organization * @param domainName Name of the domain */ deleteDomain(orgName: string, domainName: string, raw?: { raw: R; }): Promise>; protected getEndpoint(endpoint: string): string; }