from typing import Protocol

from gateway_core.domain.Reboot import RebootDto


class RebootExecutorPort(Protocol):
    def canHandle(self, dto: RebootDto) -> bool: ...
    async def execute(self, dto: RebootDto) -> None: ...
