import type { JwtPayload } from './jsonwebtoken-type'; /** * @internal */ export declare function getIssuerSubdomain(decodedJwt: JwtPayload | undefined, isIasToken?: boolean): string | undefined; /** * @internal * This functions returns the host part of an URL, with URL validation. * @param url * @returns host */ export declare function parseUrlAndGetHost(url: string): string; /** * @internal * Replaces the first part of the hostname (subdomain) in a URL. * @param baseUrl - The URL whose subdomain should be replaced. * @param newSubdomain - The new subdomain to use or a falsy value to remove the subdomain. * @returns The URL with replaced subdomain, with trailing slash removed if present. */ export declare function replaceSubdomain(baseUrl: string, newSubdomain: string | undefined): string;