/** * Removes specified characters from the beginning and end of a string. * * @since 1.0.0 * * @param {string} [str=''] - The string to trim. * @param {string} [characters=''] - The characters to remove from the string. * * @return {string} - The trimmed string. * * @example * * trim(' Hello, World! '); * // => 'Hello, World!' * * trim('JavaScript is awesome', 'weojsacm'); * // => 'JavaScript is awesome' */ declare const trim: (str?: string, characters?: string) => string; export default trim;