export { ROUTE_CONSTANTS, HTTP_METHODS, compareRoutes, getRouteSpecificity, collectRoutes, } from './routing.js';
/**
 * Resolves the given path to the specified directory.
 * @param directory the directory to resolve to
 * @param path the path to resolve
 * @returns the resolved path
 */
export declare function setDir(directory: string, path: string): string;
/**
 * Removes leading and trailing slashes from the given prefix.
 * @param prefix the prefix to clean
 * @returns the cleaned prefix
 */
export declare function cleanPrefix(prefix: string): string;
/**
 * Normalizes a file path by replacing multiple slashes with a single slash
 * and removing any trailing slash, unless the path is the root.
 * @param path The file path to normalize.
 * @returns The normalized file path.
 */
export declare function normalizePath(path: string): string;
