# Type stubs for langchain_community.chat_message_histories

from typing import Any

class SQLChatMessageHistory:
    def __init__(
        self,
        session_id: str,
        connection_string: str,
        table_name: str = "message_history",
    ) -> None: ...
    @property
    def messages(self) -> list[Any]: ...
    def add_message(self, message: Any) -> None: ...
    def clear(self) -> None: ...
