/**
 * Capitalizes the first character of a given string.
 *
 * If the string is empty, returns an empty string.
 * Does not affect the rest of the string.
 *
 * @param str - The input string to capitalize.
 * @returns The input string with its first character converted to uppercase.
 *
 * @example
 * capitalize('hello'); // 'Hello'
 * capitalize('world'); // 'World'
 * capitalize(''); // ''
 */
export declare function capitalize(str: string): string;
//# sourceMappingURL=capitalize.d.ts.map