"""Test generation protocol for type narrowing."""

from typing import Protocol


class TestGenProtocol(Protocol):
    """Type-narrowing protocol for handlers that support test generation."""

    supports_testgen: bool

    async def testgen_generate(self, request: object, data: object) -> object: ...
