/** Normalize a host: lower-case, trim, drop a trailing dot and a leading `.`/`*.`. */ export declare function normalizeHost(input: string): string; /** * The public suffix of `host` (e.g. `co.uk` for `bbc.co.uk`), or `null` when the host * is empty/invalid. A host that IS a public suffix returns itself. */ export declare function getPublicSuffix(host: string): string | null; /** * True when `host` is itself a public suffix (`com`, `co.uk`, `pages.dev`) — i.e. NOT * a registrable domain. This is the cookie-boundary test: a cookie-domain that is a * public suffix is unsafe (browsers reject it; it would span tenants). */ export declare function isPublicSuffix(host: string): boolean; /** * The registrable domain of `host` — its public suffix plus one more label * (`bbc.co.uk` for `www.bbc.co.uk`). `null` when the host has no label above its * public suffix (i.e. it IS a public suffix, or is empty/invalid). */ export declare function getRegistrableDomain(host: string): string | null; /** * Do two hosts share a registrable domain? `crm.acme.com` and `hr.acme.com` do * (`acme.com`); `acme.com` and `acme.co.uk` do not. Used to check a cookie-domain * actually covers the request host at the registrable boundary. */ export declare function sameRegistrableDomain(a: string, b: string): boolean; //# sourceMappingURL=list.d.ts.map