import type { ModulePublicRuntimeConfig } from '../../../module.js'; /** * Encode a URL path for safe inclusion in an HTTP header value. * HTTP header values must be ASCII-only per RFC 9110 ยง5.5, so paths containing * non-Latin characters (e.g. Chinese, Cyrillic) must be percent-encoded or * Cloudflare (and other RFC-compliant runtimes) will reject the header. * `encodeURI` preserves `/` separators and other reserved URL characters. */ export declare function encodePathForHeader(path: string): string; type LinkUrlResolver = (path: string) => string; /** * Build a comma-joined Link header value with the standard alternates plus i18n hreflang variants. */ export declare function buildLinkHeader(path: string, variant: 'html' | 'markdown', config: ModulePublicRuntimeConfig, resolveUrl?: LinkUrlResolver): string; export {};