/** * @module transforms */ /** * * Capitalize the first letter of a string * * @param text The string to be capitalized * @return Returns the capitalized string * * @example * ```typescript * * const name = capitalize('bob') // => 'Bob' * ``` * */ export default function capitalize(text: string): string;