import type { NavItemWithLink } from '@rspress/core';
import type { UnversionedVersion } from './types.ts';
export declare const removeBothEndsSlashes: (str?: string) => string;
export declare const getPdfName: (lang: string, userBase?: string, title?: string) => string;
export declare const isExplicitlyUnversioned: (version?: string) => version is UnversionedVersion;
export declare const isUnversioned: (version?: string) => version is undefined | "" | UnversionedVersion;
export declare const getUnversionedVersion: (version?: string) => string | undefined;
export declare const normalizeSlash: (url: string) => string;
export declare const withoutBase: (path: string, base: string) => string;
export declare const matchNavbar: (item: NavItemWithLink, currentPathname: string, base: string) => boolean;
