/**
 * @public
 */
export type TextFormatterFn = (value: string) => string;
/**
 * @public
 */
export type TextFormatter = TextFormatterFn | Lowercase<keyof typeof TextFormatters>;
/**
 * @public
 */
export declare namespace TextFormatters {
    /**
     * This function does not apply any formatting to the text.
     *
     * @public
     */
    const DEFAULT: (value: string) => string;
    /**
     * This function formats text to HTML by replacing common text formatting patterns with their HTML equivalents.
     * It supports:
     * - Italics: _value_
     * - Bold: *value*
     * - Strikethrough: ~value~
     * - Monospace: ```value```
     * - URLs: Converts HTTP/HTTPS/FTP links to clickable links
     * - Phone numbers: Converts phone numbers to tel: links
     * - Emails: Converts email addresses to mailto: links
     * - New lines to '\<br/>'
     *
     * @public
     */
    const RICHTEXT: TextFormatterFn;
    /**
     * This function formats text to HTML using a simplified Markdown syntax.
     * It supports:
     * - Bold: **value** or __value__
     * - Italic: *value* or _value_
     * - Strikethrough: ~~value~~
     * - Code: `value`
     * - Image with specified width and height: ![alt text](http://example.com/image.jpg =100x20)
     * - Image with only width specified: ![alt text](http://example.com/image.jpg =250x)
     * - Image with only height specified: ![alt text](http://example.com/image.jpg =x250)
     * - Image: ![alt text](http://example.com/image.jpg)
     * - URLs: [example](http://example.com)
     * - Email: <example@example.com>
     * * - List: * item (unordered list) or 1. item (ordered list)
     * - Blockquote: > value
     * - Header: # Header 1 through ###### Header 6
     * - New lines to <br>
     * @public
     */
    const MARKDOWN: TextFormatterFn;
    /**
     * This function looks for BBCode tags such as
     * [b], [i], [u], [s], [code], [url], [img], [email], [color], [size], [list], [quote], and [*] for list items,
     * and replaces them with their HTML equivalents. It also handles conversion of new lines to HTML <br> tags.
     *
     * @public
     */
    const BBCODE: TextFormatterFn;
}
/**
 * @public
 */
export interface IFormatText {
    /**
     * The formatted value.
     */
    value: string;
    /**
     * The raw value without formatting.
     */
    rawValue: string;
}
//# sourceMappingURL=TextFormatter.d.ts.map