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

from generated.example.create_widget_input import CreateWidgetInput
from generated.example.widget_summary import WidgetSummary
from pydantic import Field  # noqa: F401


class WidgetsApiServiceProtocol(Protocol):
    async def create_widget(
        self,
        create_widget_input: CreateWidgetInput,
    ) -> WidgetSummary: ...
    async def get_widget(
        self,
        widget_id: str,
    ) -> WidgetSummary: ...
