"""
Stegasoo embedding backends.

Provides a typed plugin interface for all embedding algorithms.
Backends register with the module-level ``registry`` on import.

Usage::

    from stegasoo.backends import registry

    backend = registry.get("lsb")
    stego, stats = backend.embed(data, carrier, key)
"""

from .dct import DCTBackend
from .lsb import LSBBackend
from .protocol import EmbeddingBackend
from .registry import BackendNotFoundError, BackendRegistry, registry

# Auto-register built-in backends
registry.register(LSBBackend())
registry.register(DCTBackend())

__all__ = [
    "EmbeddingBackend",
    "BackendRegistry",
    "BackendNotFoundError",
    "registry",
    "LSBBackend",
    "DCTBackend",
]
