"""
Core module - Configuración y utilidades centrales de la aplicación
"""

from .config import settings
from .database import (
    Base,
    get_async_core_db,
    get_core_db,
    get_tenant_db,
    init_async_db,
    init_db,
    scoped_async_core_db,
    scoped_core_db,
    set_rls_context,
)
from .security import (
    get_current_active_user,
    get_current_user,
    get_tenant_from_token,
    has_role,
    verify_token,
)

__all__ = [
    "settings",
    "Base",
    "get_core_db",
    "get_async_core_db",
    "get_tenant_db",
    "scoped_core_db",
    "scoped_async_core_db",
    "set_rls_context",
    "init_db",
    "init_async_db",
    "verify_token",
    "get_current_user",
    "get_current_active_user",
    "has_role",
    "get_tenant_from_token",
]
