export type TGetStrWithCapitalizedArgs = Parameters; export type TGetStrWithCapitalizedReturn = ReturnType; /** * Gets a string with uppercase first letter * @param str{string} source string * @returns {string} String with first character uppercased * @throws {TypeError} If str is not a string * @example * getStrWithCapitalized("hello world"); // "Hello world" * @example * // Capitalize a category name for a page heading * const heading = getStrWithCapitalized(category.name); */ export declare const getStrWithCapitalized: (str: string) => string;