"""Type stubs for langchain_core.language_models module."""

from typing import Any

class BaseMessage:
    """Base message class."""

    content: str

class BaseLanguageModel:
    """Base class for language models."""

    def invoke(self, input: Any, config: Any = None) -> BaseMessage: ...
    async def ainvoke(self, input: Any, config: Any = None) -> BaseMessage: ...

__all__ = ["BaseLanguageModel", "BaseMessage"]
