"""Diary module interface.""" from __future__ import annotations from typing import Protocol class DiaryInterface(Protocol): async def write_entry(self, category: str, content: str) -> None: ...