# Generated from example#BookmarkRepository by sql-service-codegen. Do not edit by hand.
from __future__ import annotations

from typing import Protocol, TypeVar

from generated.example.models.bookmark_repository_models import (
    Bookmark,
)

T = TypeVar("T", contravariant=True)


class BookmarkRepositoryServiceProtocol(Protocol[T]):
    async def get_bookmark(
        self,
        id: str,
        *,
        transaction: T | None = None,
    ) -> Bookmark | None: ...
