"""Compatibility layer for legacy imports.

Prefer importing from `sync_state_machine.config` directly.
"""

from .datasource_config import ApiDataSourceConfig, JsonlDataSourceConfig, DataSourceConfig
from .persist_config import PersistConfig
from .logging_config import LoggingConfig
from .strategy_config import (
    OrphanAction,
    UpdateDirection,
    StrategyConfig,
    StrategyRuntimeConfig,
    ConfigPresets,
)
from .pipeline_config import PipelineRunConfig, DEFAULT_NODE_TYPES
from .multi_project_config import (
    MultiProjectItemConfig,
    MultiProjectRunConfig,
    build_multi_project_config_from_file,
    is_multi_project_payload,
)
from .builder import (
    build_default_config,
    build_config,
    build_config_from_file,
    apply_config_overrides,
    config_snapshot,
)

__all__ = [
    "ApiDataSourceConfig",
    "JsonlDataSourceConfig",
    "DataSourceConfig",
    "PersistConfig",
    "LoggingConfig",
    "OrphanAction",
    "UpdateDirection",
    "StrategyConfig",
    "StrategyRuntimeConfig",
    "ConfigPresets",
    "PipelineRunConfig",
    "DEFAULT_NODE_TYPES",
    "MultiProjectItemConfig",
    "MultiProjectRunConfig",
    "build_multi_project_config_from_file",
    "is_multi_project_payload",
    "build_default_config",
    "build_config",
    "build_config_from_file",
    "apply_config_overrides",
    "config_snapshot",
]
