export type UrlRef = {
    protocol: string | undefined;
    origin: string | undefined;
    hostname: string | undefined;
    port: string | undefined;
    href: string | undefined;
    query: {
        [key: string]: string;
    };
    pathname: string | undefined;
};
export declare function sanitizePathSplit(basePath: string, path: string): string[];
export declare const wildcardOrOptionalParamRegex: RegExp;
export declare function urlParse(url: string): UrlRef;
