export declare function upcaseFirstChar(str: string): string; export declare function toTitleCase(str: string): string; export declare function toSnakeCase(str: string): string; export declare function toCamelCase(str: string): string; export declare function toClassCase(str: string): string; export declare function toPascalCase(str: string): string; declare function url_join(strArray: string[], { resolve, trailing_slash }?: { resolve?: boolean; trailing_slash?: boolean | null; }): string; type RouterMatch = { url: string; path: string; [key: string]: any; }; /** * (Intelligently) Joins multiple parts of a URL. * * Accepts strings or ReactRouter `Matches` as URL bits. */ export declare function urlJoin(parts: (RouterMatch | string)[], options?: Parameters[1]): any; export declare function urlJoin(...parts: (RouterMatch | string)[]): any; /** * Template string tag to (UN-intelligently) join multiple parts of a URL. * This tag does not attempt to resolve absolute vs relative paths, but instead strips duplicate `/` characters * if, for example, `http://domain.com/` and `/blah` were joined (resulting in `http://domain.com/blah`). * * Accepts strings or ReactRouter `Matches` as URL bits. */ export declare const url: (literals: TemplateStringsArray, ...placeholders: (RouterMatch | string)[]) => string; /** * Template string tag to split a string into a list of words. Similar to Ruby's `%w[]` * * ```js * words`hello large world` -> ['hello', 'large', 'world'] * ``` */ export declare const words: (literals: TemplateStringsArray, ...placeholders: string[]) => string[]; export {};