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