/**
 * Capitalizes first letters of words in string.
 * @param {string} str String to be modified.
 * @param {boolean=true} all Whether all words should be capitalised.
 * @return {string}
 * @usage
 *   capitalize('fix this string');     // -> 'Fix This String'
 *   capitalize('javaSCrIPT');          // -> 'JavaSCrIPT'
 */
export declare const capitalize: (str?: string, all?: boolean) => string;
export declare const generateRandomString: (length?: number) => string;
