/** * @module transforms */ export interface ToCamelOptions { keepAcronyms?: boolean; } /** * * Transforms the provided string into camel-case. * * If the string contains a combination of upper and lower-case letters then the method * will retain the capitalization of acronyms. This behaviour can be explicitly toggled * on or off with the `keepAcronyms` option. * * @param input The string to be converted * @return Returns the camel-case string * * @example * ```typescript * * toCamel('ILoveCamels') // => 'iLoveCamels' * toCamel('User ID') // => 'userID' * ``` * */ export default function toCamel(input: string): string; export default function toCamel(input: string, options: ToCamelOptions): string;