/**
 * Returns the first word of a string capitalized.
 *
 * @param str - The input string.
 * @returns The first word of the input string, with the first letter capitalized and the rest in lowercase.
 * @throws If an error occurs during the process.
 */
export declare const getFirstWordCapitalized: (str: string) => string;
