/** * Converts a word in singular form to a pluralized string based on the number * of items. * * @param singular The singular form of the word. * @param count The number of items. This determines whether the singular or * plural form is used. * @param plural The optional plural form of the word. If not provided, the * plural form is created by appending an "s" to the singular form. * @returns The pluralized string. */ export declare function pluralize(singular: string, count: number, plural?: string): string; /** * Capitalizes the first letter of a string. * * @param str The string to capitalize. * @returns The string with the first letter capitalized. */ export declare function capitalize(str: string): string; /** * Converts a kebab-case string to camelCase. * * @param str The kebab-case string to convert. * @returns The camelCase string. */ export declare function kebabToCamelCase(str: string): string; /** * Converts a camelCase string to snake_case. * * @param str The camelCase string to convert. * @returns The snake_case string. */ export declare function camelToSnakeCase(str: string): string; /** * Converts a camelCase string to kebab-case. * * @param str The camelCase string to convert. * @returns The kebab-case string. */ export declare function camelToKebabCase(str: string): string; /** * Ensures a string ends with a slash. */ export declare function ensureTrailingSlash(path: string): string; //# sourceMappingURL=string.d.ts.map