import Base, { MaybeRaw } from "../../../../../../Base"; import { FullSAMLProvider, SAMLProvider, SAMLProviderCreateDto } from "../../../../../../interfaces/idp/organization/settings/domain/saml"; export declare class IdpSAMLProvider extends Base { /** * Retrieves all SAML providers associated with a given Organization. * @param orgName Name of the Organization * @returns Array of SAML providers */ getAllSAMLProvidersOfOrganization(orgName: string, raw?: { raw: R; }): Promise>; /** * Creates a new SAML provider for the specified domain. * @param orgName Name of the Organization * @param domainName Name of the Domain * @param provider SAML provider object containing the login URL, logout URL, certificates and a boolean to allow unencrypted assertion * @returns The created SAML provider */ createProvider(orgName: string, domainName: string, provider: SAMLProviderCreateDto, raw?: { raw: R; }): Promise>; /** * Updates a SAML provider for the specified domain * @param orgName Name of the Organization * @param domainName Name of the Domain * @param provider SAML provider object containing the login URL, logout URL, certificates and a boolean to allow unencrypted assertion * @returns The updated SAML provider */ updateProvider(orgName: string, domainName: string, provider: SAMLProviderCreateDto, raw?: { raw: R; }): Promise>; /** * Adds certificates to a SAML provider * @param orgName Name of the Organization * @param domainName Name of the Domain * @param certificates Certificates to add * @returns The updated SAML provider */ addCertificatesToProvider(orgName: string, domainName: string, certificates: string[], raw?: { raw: R; }): Promise>; /** * Removes a SAML provider from the specified domain * @param orgName Name of the Organization * @param domainName Name of the Domain */ deleteProvider(orgName: string, domainName: string, raw?: { raw: R; }): Promise>; private convertProviderToFormData; private createFileFromString; protected getEndpoint(endpoint: string): string; }