# Generated by smithplates HTTP codegen. Do not edit.
from typing import Annotated, Protocol  # noqa: F401

from generated.example.delete_widget404 import DeleteWidget404
from generated.example.mutate_widget404 import MutateWidget404
from generated.example.mutate_widget409 import MutateWidget409
from generated.example.widget_output import WidgetOutput
from generated.example.widget_patch import WidgetPatch
from pydantic import Field  # noqa: F401


class V1WidgetsApiServiceProtocol(Protocol):
    async def delete_widget(
        self,
        id_: str,
    ) -> DeleteWidget404 | None: ...
    async def mutate_widget(
        self,
        id_: str,
        body: WidgetPatch,
    ) -> WidgetOutput | MutateWidget404 | MutateWidget409: ...
