# Generated by @docstream/fastapi-server-emitter
# Do not edit this file manually — regenerate with: tsp compile .
"""Service layer for Health operations.

Contains a Protocol interface defining the service contract and a stub
implementation that raises NotImplementedError for all methods.
"""
from __future__ import annotations


from typing import Protocol, runtime_checkable

from ..models.health import HealthResponse, ReadyResponse


@runtime_checkable
class HealthServiceService(Protocol):
    """Service interface for Health operations."""
    """Health check — Basic liveness check — always returns 200 if the process is up."""
    async def health(self) -> HealthResponse:
        ...
    """Readiness check — Readiness check — verifies config is loaded and at least one context is configured."""
    async def ready(self) -> ReadyResponse:
        ...


class HealthServiceServiceStub:
    """Stub implementation of HealthServiceService.

    All methods raise NotImplementedError. Replace with actual
    business logic by subclassing or monkey-patching.
"""
    """Health check — Basic liveness check — always returns 200 if the process is up."""
    async def health(self) -> HealthResponse:
        raise NotImplementedError(
            "Method health not yet implemented"
        )
    """Readiness check — Readiness check — verifies config is loaded and at least one context is configured."""
    async def ready(self) -> ReadyResponse:
        raise NotImplementedError(
            "Method ready not yet implemented"
        )
