// package: cosmos.authz.v1beta1 // file: cosmos/authz/v1beta1/query.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "grpc"; import * as cosmos_authz_v1beta1_query_pb from "../../../cosmos/authz/v1beta1/query_pb"; import * as cosmos_base_query_v1beta1_pagination_pb from "../../../cosmos/base/query/v1beta1/pagination_pb"; import * as cosmos_authz_v1beta1_authz_pb from "../../../cosmos/authz/v1beta1/authz_pb"; interface IQueryService extends grpc.ServiceDefinition { grants: IQueryService_IGrants; } interface IQueryService_IGrants extends grpc.MethodDefinition { path: "/cosmos.authz.v1beta1.Query/Grants"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const QueryService: IQueryService; export interface IQueryServer { grants: grpc.handleUnaryCall; } export interface IQueryClient { grants(request: cosmos_authz_v1beta1_query_pb.QueryGrantsRequest, callback: (error: grpc.ServiceError | null, response: cosmos_authz_v1beta1_query_pb.QueryGrantsResponse) => void): grpc.ClientUnaryCall; grants(request: cosmos_authz_v1beta1_query_pb.QueryGrantsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_authz_v1beta1_query_pb.QueryGrantsResponse) => void): grpc.ClientUnaryCall; grants(request: cosmos_authz_v1beta1_query_pb.QueryGrantsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_authz_v1beta1_query_pb.QueryGrantsResponse) => void): grpc.ClientUnaryCall; } export class QueryClient extends grpc.Client implements IQueryClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); public grants(request: cosmos_authz_v1beta1_query_pb.QueryGrantsRequest, callback: (error: grpc.ServiceError | null, response: cosmos_authz_v1beta1_query_pb.QueryGrantsResponse) => void): grpc.ClientUnaryCall; public grants(request: cosmos_authz_v1beta1_query_pb.QueryGrantsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_authz_v1beta1_query_pb.QueryGrantsResponse) => void): grpc.ClientUnaryCall; public grants(request: cosmos_authz_v1beta1_query_pb.QueryGrantsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_authz_v1beta1_query_pb.QueryGrantsResponse) => void): grpc.ClientUnaryCall; }