/** * Remove punctuation from a string. Optionally replace with a custom string. * @param str String to remove punctuation from * @param opt Object contains options for the function * @param opt.replacement String to replace punctuation with * @param opt.noTrim Do not trim the string before removing punctuation */ export declare const removePunctuation: (str?: string, opt?: { replacement?: string; noTrim?: boolean; }) => string; /** * Remove whitespace from a string. Optionally replace with a custom string. * @param str String to remove whitespace from * @param replacement String to replace whitespace with */ export declare const removeWhitespace: (str?: string, replacement?: string) => string; /** * Remove non-word characters from the end of a string. * @param str String to remove non-word characters from */ export declare const trimNonWord: (str?: string) => string; /** * Convert a string to camelCase. * @param str String to convert to camelCase * @param noTrim Do not trim the string before converting to camelCase */ export declare const camelCase: (str?: string, noTrim?: boolean) => string; /** * Convert a string to PascalCase. * @param str String to convert to PascalCase * @param noTrim Do not trim the string before converting to PascalCase */ export declare const pascalCase: (str?: string, noTrim?: boolean) => string; /** * Convert a string to Capital Case. * @param str String to convert to Capital Case * @param noTrim Do not trim the string before converting to Capitalcase */ export declare const capitalCase: (str?: string, noTrim?: boolean) => string; /** * Convert a string to kebab-case. * @param str String to convert to kebab-case * @param noTrim Do not trim the string before converting to kebab-case */ export declare const kebabCase: (str?: string, noTrim?: boolean) => string; /** * Convert a string to snake_case. * @param str String to convert to snake_case * @param noTrim Do not trim the string before converting to snake_case */ export declare const snakeCase: (str?: string, noTrim?: boolean) => string;