import { UrlPart } from './withParams'; export declare const paramRegex = "\\[\\??([\\w-_]+)\\*?\\]"; export declare const optionalParamRegex = "\\[\\?([\\w-_]+)\\*?\\]"; export declare const requiredParamRegex = "\\[([\\w-_]+)\\*?\\]"; export declare const greedyParamRegex = "\\[\\??([\\w-_]+)\\*\\]"; export declare const regexCatchAll = "[^/]*"; export declare const regexGreedyCatchAll = ".*"; export declare const regexCaptureAll = "([^/]*)"; export declare const regexGreedyCaptureAll = "(.*)"; export declare function splitByMatches(string: string, regexp: RegExp): string[]; export declare function generateRouteHostRegexPattern(host: string): RegExp; export declare function generateRoutePathRegexPattern(path: string): RegExp; export declare function generateRouteHashRegexPattern(hash: string): RegExp; export declare function generateRouteQueryRegexPatterns(query: string): RegExp[]; export declare function replaceParamSyntaxWithCatchAlls(value: string): string; export declare function replaceIndividualParamWithCaptureGroup(path: UrlPart, paramName: string): string; export declare function isOptionalParamSyntax(value: string): boolean; export declare function isRequiredParamSyntax(value: string): boolean; export declare function isGreedyParamSyntax(value: string): boolean; export declare function getParamName(value: string): string | undefined; export declare function getParamRegexPattern(paramName: string): RegExp; export declare function getCaptureGroups(value: string, pattern: RegExp): (string | undefined)[];