export interface DomainInfo { /** name of the domain in English */ name: string; xn: string; type: "generic" | "country-code" | "sponsored" | "infrastructure" | "generic-restricted" | "test"; manager: string; } /** * Check if the domain is valid. * @param domain */ export declare function isValid(domain: string): boolean; /** * get an array with all the domains supported */ export declare function getAllDomains(): string[]; export declare function getDomainInfo(domain: string): DomainInfo | null;