UNPKG

457 BTypeScriptView Raw
1import { ICertificate } from './certificate';
2import { DnsValidatedCertificate } from './dns-validated-certificate';
3/**
4 * Returns the apex domain (domain.com) from a subdomain (www.sub.domain.com)
5 */
6export declare function apexDomain(domainName: string): string;
7export declare function isDnsValidatedCertificate(cert: ICertificate): cert is DnsValidatedCertificate;
8export declare function getCertificateRegion(cert: ICertificate): string | undefined;