"""Alert delivery channels."""

from typing import Optional
from src.ui.utils.notifications import get_notification_manager
from src.core.logger import get_logger

logger = get_logger(__name__)


class AlertChannel:
    """Manages alert delivery channels."""
    
    def __init__(self):
        """Initialize alert channel."""
        self.notifications = get_notification_manager()
        self.logger = get_logger(__name__)
    
    def send(self, alert_type: str, message: str):
        """Send alert through all channels.
        
        Args:
            alert_type: Alert type
            message: Alert message
        """
        self.notifications.notify_alert(alert_type, message)

