/**
 * For DNSLink see https://specs.ipfs.tech/http-gateways/subdomain-gateway/#host-request-header
 * DNSLink names include . which means they must be inlined into a single DNS label to provide unique origin and work with wildcard TLS certificates.
 */
/**
 * Checks if label looks like inlined DNSLink.
 * (https://specs.ipfs.tech/http-gateways/subdomain-gateway/#host-request-header)
 */
export declare function isInlinedDnsLink(label: string): boolean;
/**
 * DNSLink label decoding
 * - Every standalone - is replaced with .
 * - Every remaining -- is replaced with -
 *
 * @example en-wikipedia--on--ipfs-org -> en.wikipedia-on-ipfs.org
 */
export declare function decodeDNSLinkLabel(label: string): string;
/**
 * DNSLink label encoding
 * - Every - is replaced with --
 * - Every . is replaced with -
 *
 * @example en.wikipedia-on-ipfs.org -> en-wikipedia--on--ipfs-org
 */
export declare function encodeDNSLinkLabel(name: string): string;
//# sourceMappingURL=dnslink-label.d.ts.map