"""Processing settings shared across target types."""

from dataclasses import dataclass

DEFAULT_STATE_CHECK_INTERVAL = 30  # seconds between health checks


@dataclass
class ProcessingSettings:
    """Settings for screen processing."""

    display_index: int = 0
    fps: int = 30
    brightness: float = 1.0
    smoothing: float = 0.3
    interpolation_mode: str = "average"
    keepalive_interval: float = 1.0  # seconds between keepalive sends when screen is static
    state_check_interval: int = DEFAULT_STATE_CHECK_INTERVAL
