"""IEUM API Server module.

Provides REST API and WebSocket endpoints for the IEUM agent.
"""

__all__ = ["create_app", "run_server"]


def __getattr__(name):
    """Lazy import to avoid circular imports."""
    if name == "create_app":
        from ieum.server.app import create_app
        return create_app
    elif name == "run_server":
        from ieum.server.app import run_server
        return run_server
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
