# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""Formatting utilities for different types of content."""

from lex_helper.formatters.buttons import (
    Button,
    buttons_to_dicts,
    create_button,
    create_buttons,
    format_buttons_for_display,
)
from lex_helper.formatters.text import (
    normalize_whitespace,
    remove_html_tags,
    replace_special_characters,
    split_into_sentences,
    substitute_keys_in_text,
    truncate_text,
)
from lex_helper.formatters.url import (
    build_url,
    clean_url,
    extract_domain,
    is_valid_url,
    normalize_url,
)

__all__ = [
    # Button formatting
    "Button",
    "create_button",
    "create_buttons",
    "format_buttons_for_display",
    "buttons_to_dicts",
    # Text formatting
    "remove_html_tags",
    "replace_special_characters",
    "substitute_keys_in_text",
    "truncate_text",
    "normalize_whitespace",
    "split_into_sentences",
    # URL formatting
    "is_valid_url",
    "normalize_url",
    "extract_domain",
    "build_url",
    "clean_url",
]
