"""
@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: ...
    # Allowance returns fee granted to the grantee by the granter.
    Allowance:grpc.UnaryUnaryMultiCallable[
        global___QueryAllowanceRequest,
        global___QueryAllowanceResponse] = ...

    # Allowances returns all the grants for address.
    Allowances:grpc.UnaryUnaryMultiCallable[
        global___QueryAllowancesRequest,
        global___QueryAllowancesResponse] = ...


# Query defines the gRPC querier service.
class QueryServicer(metaclass=abc.ABCMeta):
    # Allowance returns fee granted to the grantee by the granter.
    @abc.abstractmethod
    def Allowance(self,
        request: global___QueryAllowanceRequest,
        context: grpc.ServicerContext,
    ) -> global___QueryAllowanceResponse: ...

    # Allowances returns all the grants for address.
    @abc.abstractmethod
    def Allowances(self,
        request: global___QueryAllowancesRequest,
        context: grpc.ServicerContext,
    ) -> global___QueryAllowancesResponse: ...


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