/**
 * Returns a new string with the first character capitalized.
 * @param string The input string to capitalize.
 * @returns A new string with the first character capitalized.
 * @example
 * ```ts
 * capitalize('foo'); // 'Foo'
 * capitalize(''); // ''
 * ```
 */
declare function capitalize<S extends string>(string: S): Capitalize<S>;

export { capitalize };
