"""Data ingestion modules for the bitable subsystem.

Pure data transformation — no HTTP calls. The BitableTool orchestrates
HTTP writes to the bitable REST API; these modules only parse/transform
external data into bitable-ready field definitions and record lists.
"""

from __future__ import annotations

from agentkit.bitable.ingestion.api_collector import transform_records
from agentkit.bitable.ingestion.database import (
    DB_TYPE_MAP,
    import_table,
    infer_field_type,
)
from agentkit.bitable.ingestion.excel import (
    ParsedSheet,
    parse_excel,
    parse_excel_bytes,
    parse_excel_url,
)

__all__ = [
    "DB_TYPE_MAP",
    "ParsedSheet",
    "import_table",
    "infer_field_type",
    "parse_excel",
    "parse_excel_bytes",
    "parse_excel_url",
    "transform_records",
]
