"""
Telemetry module for rotalabs packages.

This module provides opt-in telemetry to report usage to the Rotascale platform.
Telemetry is DISABLED by default and must be explicitly enabled.

Usage:
    from rotalabs._telemetry import configure, report_event, is_enabled

    # Enable telemetry (opt-in)
    configure(
        api_key="rsk_live_...",
        base_url="https://api.rotascale.com",
        enabled=True,
    )

    # Report an event (non-blocking)
    report_event("steer.vector.applied", {"vector_name": "helpful"})
"""

from rotalabs._telemetry.config import (
    configure,
    disable,
    is_enabled,
    get_config,
    TelemetryConfig,
)
from rotalabs._telemetry.client import report_event, flush, shutdown
from rotalabs._telemetry.events import TelemetryEvent

__all__ = [
    "configure",
    "disable",
    "is_enabled",
    "get_config",
    "TelemetryConfig",
    "report_event",
    "flush",
    "shutdown",
    "TelemetryEvent",
]
