"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import abc
import grpc

from .query_pb2 import *
# Query defines the gRPC querier service.
class QueryStub:
    def __init__(self, channel: grpc.Channel) -> None: ...
    # Returns list of `Authorization`, granted to the grantee by the granter.
    Grants:grpc.UnaryUnaryMultiCallable[
        global___QueryGrantsRequest,
        global___QueryGrantsResponse] = ...


# Query defines the gRPC querier service.
class QueryServicer(metaclass=abc.ABCMeta):
    # Returns list of `Authorization`, granted to the grantee by the granter.
    @abc.abstractmethod
    def Grants(self,
        request: global___QueryGrantsRequest,
        context: grpc.ServicerContext,
    ) -> global___QueryGrantsResponse: ...


def add_QueryServicer_to_server(servicer: QueryServicer, server: grpc.Server) -> None: ...
