"""
Directory synchronization for Information Spaces.

This package provides filesystem integration:
- SpaceDirectoryExporter: Export space to directory using variants
- DirectorySpaceImporter: Import directory content into space
- BidirectionalSyncCoordinator: Two-way sync with conflict detection
- Conflict detection and resolution strategies
"""

from .exporter import (
    SpaceDirectoryExporter,
    IncrementalExporter,
    ExportConfig,
    ExportVariant,
    ExportResult,
    ExportedFile,
)
from .importer import (
    DirectorySpaceImporter,
    ManifestImporter,
    ImportConfig,
    ImportResult,
    ImportedDocument,
    ImportConflict,
)
from .bidirectional import (
    BidirectionalSyncCoordinator,
    SyncConfig,
    SyncDirection,
    ConflictResolution,
    SyncResult,
    SyncAction,
    SyncConflict,
    FileState,
    create_sync_coordinator,
)

__all__ = [
    # Exporter
    "SpaceDirectoryExporter",
    "IncrementalExporter",
    "ExportConfig",
    "ExportVariant",
    "ExportResult",
    "ExportedFile",
    # Importer
    "DirectorySpaceImporter",
    "ManifestImporter",
    "ImportConfig",
    "ImportResult",
    "ImportedDocument",
    "ImportConflict",
    # Bidirectional sync
    "BidirectionalSyncCoordinator",
    "SyncConfig",
    "SyncDirection",
    "ConflictResolution",
    "SyncResult",
    "SyncAction",
    "SyncConflict",
    "FileState",
    "create_sync_coordinator",
]
