from sxth_mind.storage import BaseStorage
class MyStorage(BaseStorage):
async def initialize(self) -> None: ...
async def close(self) -> None: ...
# UserMind
async def get_user_mind(self, user_id: str) -> UserMind | None: ...
async def save_user_mind(self, user_mind: UserMind) -> None: ...
async def delete_user_mind(self, user_id: str) -> None: ...
# ProjectMind
async def get_project_mind(self, user_id: str, project_id: str) -> ProjectMind | None: ...
async def save_project_mind(self, project_mind: ProjectMind) -> None: ...
async def get_project_minds_for_user(self, user_id: str) -> list[ProjectMind]: ...
async def delete_project_mind(self, user_id: str, project_id: str) -> None: ...
# Nudges
async def get_pending_nudges(self, user_id: str) -> list[Nudge]: ...
async def save_nudge(self, nudge: Nudge) -> None: ...
async def update_nudge_status(self, nudge_id: str, status: str) -> bool: ...