"""
Stage adapters - Bridge existing components to the Stage interface.

This module provides adapters that wrap existing components
(EffectPlugin, Display, DataSource, Camera) as Stage implementations.

DEPRECATED: This file is now a compatibility wrapper.
Use `engine.pipeline.adapters` package instead.
"""

# Re-export from the new package structure for backward compatibility
from sideline.pipeline.adapters import (
    # Adapter classes
    CameraStage,
    CanvasStage,
    DataSourceStage,
    DisplayStage,
    EffectPluginStage,
    FontStage,
    ImageToTextStage,
    PassthroughStage,
    SourceItemsToBufferStage,
    ViewportFilterStage,
    # Factory functions
    create_stage_from_camera,
    create_stage_from_display,
    create_stage_from_effect,
    create_stage_from_font,
    create_stage_from_source,
)

__all__ = [
    # Adapter classes
    "EffectPluginStage",
    "DisplayStage",
    "DataSourceStage",
    "PassthroughStage",
    "SourceItemsToBufferStage",
    "CameraStage",
    "ViewportFilterStage",
    "FontStage",
    "ImageToTextStage",
    "CanvasStage",
    # Factory functions
    "create_stage_from_display",
    "create_stage_from_effect",
    "create_stage_from_source",
    "create_stage_from_camera",
    "create_stage_from_font",
]
