"""Progress callback protocol for batch processing."""
from __future__ import annotations

from typing import Protocol, runtime_checkable


@runtime_checkable
class ProgressCallback(Protocol):
    """Protocol for progress reporting. Both batch runners support this."""

    def __call__(self, completed: int, total: int) -> None: ...
