export declare const TOKEN: RegExp; export declare const GlobalTOKEN: RegExp; /** * this method returns true if pattern is dynamic, else returns false * @function isDynamicPattern * @param pattern - route/route path token * @returns isDynamicRoute Flag */ export declare const isDynamicPattern: (pattern: string) => boolean; /** * this method trims the first and last / from the string * @function trimURL * @param str - string */ export declare const trimURL: (str: string) => string; /** * this method returns plural form of string * @function getPlural * @param str - string * @returns - pluralized string */ export declare const getPlural: (str: string) => string; /** * this method checks if the string has some numeric substring * @function hasNumber * @param str - string * @returns - true if numeric substring exists, else false */ export declare const hasNumber: (str: string) => boolean; /** * this method capitalize first letter of each word in the string * @function capitalizeFirstLetter * @param string - string * @returns - string with each word capitalize */ export declare const capitalizeFirstLetter: (string: string) => string; /** * this method checks for the portal query param present in the given url * @param urlSearchParam - URLSearchParams object * @returns - true if portal query param exists in the url */ export declare const isPortalParamExists: (urlSearchParam: URLSearchParams) => boolean; /** * This method converts the given input string to kebab case * e.g. ProductLandingPage -> product-landing-page * @param inputString input string to covert * @return - converted string in kebab case */ export declare const convertToKebabCase: (inputString: string) => string;