export declare const normalizeLinkSlash: (link: string) => string; export declare const forceEndSlash: (link: string) => string; export declare const normalizeLink: (link: string) => string; export declare const getLocalePathSegment: (locale?: string) => string | undefined; /** Removes a known public locale path segment from the start of a path (e.g. `/fil/...` → `/...`). */ export declare const stripLocalePathSegment: (path: string) => string; /** * Adds the public locale path prefix when missing (e.g. `/fil` for tl-PH). * No-op if locale has no prefix, already prefixed, or path starts with an excluded segment. * Absolute URLs are updated on pathname only. */ export declare const withLocalePathPrefix: (pathOrUrl: string, locale?: string) => string; export declare const resolveDiscoverNavLink: (homePageUrl: string, pathOrUrl?: string, locale?: string) => string;