import { grpc } from "@improbable-eng/grpc-web"; import Long from "long"; import _m0 from "protobufjs/minimal"; export declare const protobufPackage = "cosmos.counter.v1"; /** MsgIncreaseCounter defines a count Msg service counter. */ export interface MsgIncreaseCounter { /** signer is the address that controls the module (defaults to x/gov unless overwritten). */ signer: string; /** count is the number of times to increment the counter. */ count: Long; } /** MsgIncreaseCountResponse is the Msg/Counter response type. */ export interface MsgIncreaseCountResponse { /** new_count is the number of times the counter was incremented. */ newCount: Long; } export declare const MsgIncreaseCounter: { encode(message: MsgIncreaseCounter, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgIncreaseCounter; fromJSON(object: any): MsgIncreaseCounter; toJSON(message: MsgIncreaseCounter): unknown; create(base?: DeepPartial): MsgIncreaseCounter; fromPartial(object: DeepPartial): MsgIncreaseCounter; }; export declare const MsgIncreaseCountResponse: { encode(message: MsgIncreaseCountResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgIncreaseCountResponse; fromJSON(object: any): MsgIncreaseCountResponse; toJSON(message: MsgIncreaseCountResponse): unknown; create(base?: DeepPartial): MsgIncreaseCountResponse; fromPartial(object: DeepPartial): MsgIncreaseCountResponse; }; /** Msg defines the counter Msg service. */ export interface Msg { /** IncreaseCount increments the counter by the specified amount. */ IncreaseCount(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); IncreaseCount(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare const MsgDesc: { serviceName: string; }; export declare const MsgIncreaseCountDesc: UnaryMethodDefinitionish; interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition { requestStream: any; responseStream: any; } type UnaryMethodDefinitionish = UnaryMethodDefinitionishR; interface Rpc { unary(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise; } export declare class GrpcWebImpl { private host; private options; constructor(host: string, options: { transport?: grpc.TransportFactory; debug?: boolean; metadata?: grpc.Metadata; upStreamRetryCodes?: number[]; }); unary(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export declare class GrpcWebError extends globalThis.Error { code: grpc.Code; metadata: grpc.Metadata; constructor(message: string, code: grpc.Code, metadata: grpc.Metadata); } export {};