import { type ArrayElement } from '../array/array.js'; /** * All characters that are considered punctuation. * * @category String * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare const punctuationLetters: readonly [".", ":", ";", ",", "?", "!"]; /** * A RegExp matching all letters that are considered punctuation. * * @category String * @category RegExp * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare const punctuationRegExp: RegExp; /** * A RegExp matching that matches any punctuation at the end of a string. * * @category String * @category RegExp * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare const endsWithPunctuationRegExp: RegExp; /** * All characters that are considered punctuation. * * @category String * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export type PunctuationLetter = ArrayElement; /** * Removes any punctuation at the end of the given string. * * @category String * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare function removeEndingPunctuation(value: string): string;