from typing import Any, Optional

class Dumper:
    out: Any = ...
    def __init__(self, out: Any = ...) -> None: ...
    def say(self, msg: Any) -> None: ...
    def on_event(self, ev: Any): ...
    def format_task_event(self, hostname: Any, timestamp: Any, type: Any, task: Any, event: Any) -> None: ...

def evdump(app: Optional[Any] = ..., out: Any = ...): ...
