import { grpc } from "@improbable-eng/grpc-web"; import Long from "long"; import _m0 from "protobufjs/minimal"; import { Any } from "../../../google/protobuf/any"; import { MemberRequest, ProposalExecutorResult, VoteOption } from "./types"; export declare const protobufPackage = "cosmos.group.v1"; /** Exec defines modes of execution of a proposal on creation or on new vote. */ export declare enum Exec { /** * EXEC_UNSPECIFIED - An empty value means that there should be a separate * MsgExec request for the proposal to execute. */ EXEC_UNSPECIFIED = 0, /** * EXEC_TRY - Try to execute the proposal immediately. * If the proposal is not allowed per the DecisionPolicy, * the proposal will still be open and could * be executed at a later point. */ EXEC_TRY = 1, UNRECOGNIZED = -1 } export declare function execFromJSON(object: any): Exec; export declare function execToJSON(object: Exec): string; /** MsgCreateGroup is the Msg/CreateGroup request type. */ export interface MsgCreateGroup { /** admin is the account address of the group admin. */ admin: string; /** members defines the group members. */ members: MemberRequest[]; /** metadata is any arbitrary metadata to attached to the group. */ metadata: string; } /** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ export interface MsgCreateGroupResponse { /** group_id is the unique ID of the newly created group. */ groupId: Long; } /** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ export interface MsgUpdateGroupMembers { /** admin is the account address of the group admin. */ admin: string; /** group_id is the unique ID of the group. */ groupId: Long; /** * member_updates is the list of members to update, * set weight to 0 to remove a member. */ memberUpdates: MemberRequest[]; } /** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ export interface MsgUpdateGroupMembersResponse { } /** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ export interface MsgUpdateGroupAdmin { /** admin is the current account address of the group admin. */ admin: string; /** group_id is the unique ID of the group. */ groupId: Long; /** new_admin is the group new admin account address. */ newAdmin: string; } /** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ export interface MsgUpdateGroupAdminResponse { } /** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ export interface MsgUpdateGroupMetadata { /** admin is the account address of the group admin. */ admin: string; /** group_id is the unique ID of the group. */ groupId: Long; /** metadata is the updated group's metadata. */ metadata: string; } /** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ export interface MsgUpdateGroupMetadataResponse { } /** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ export interface MsgCreateGroupPolicy { /** admin is the account address of the group admin. */ admin: string; /** group_id is the unique ID of the group. */ groupId: Long; /** metadata is any arbitrary metadata attached to the group policy. */ metadata: string; /** decision_policy specifies the group policy's decision policy. */ decisionPolicy: Any | undefined; } /** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ export interface MsgCreateGroupPolicyResponse { /** address is the account address of the newly created group policy. */ address: string; } /** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ export interface MsgUpdateGroupPolicyAdmin { /** admin is the account address of the group admin. */ admin: string; /** group_policy_address is the account address of the group policy. */ groupPolicyAddress: string; /** new_admin is the new group policy admin. */ newAdmin: string; } /** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ export interface MsgUpdateGroupPolicyAdminResponse { } /** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ export interface MsgCreateGroupWithPolicy { /** admin is the account address of the group and group policy admin. */ admin: string; /** members defines the group members. */ members: MemberRequest[]; /** group_metadata is any arbitrary metadata attached to the group. */ groupMetadata: string; /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ groupPolicyMetadata: string; /** * group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group * and group policy admin. */ groupPolicyAsAdmin: boolean; /** decision_policy specifies the group policy's decision policy. */ decisionPolicy: Any | undefined; } /** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ export interface MsgCreateGroupWithPolicyResponse { /** group_id is the unique ID of the newly created group with policy. */ groupId: Long; /** group_policy_address is the account address of the newly created group policy. */ groupPolicyAddress: string; } /** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ export interface MsgUpdateGroupPolicyDecisionPolicy { /** admin is the account address of the group admin. */ admin: string; /** group_policy_address is the account address of group policy. */ groupPolicyAddress: string; /** decision_policy is the updated group policy's decision policy. */ decisionPolicy: Any | undefined; } /** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ export interface MsgUpdateGroupPolicyDecisionPolicyResponse { } /** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ export interface MsgUpdateGroupPolicyMetadata { /** admin is the account address of the group admin. */ admin: string; /** group_policy_address is the account address of group policy. */ groupPolicyAddress: string; /** metadata is the group policy metadata to be updated. */ metadata: string; } /** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ export interface MsgUpdateGroupPolicyMetadataResponse { } /** MsgSubmitProposal is the Msg/SubmitProposal request type. */ export interface MsgSubmitProposal { /** group_policy_address is the account address of group policy. */ groupPolicyAddress: string; /** * proposers are the account addresses of the proposers. * Proposers signatures will be counted as yes votes. */ proposers: string[]; /** metadata is any arbitrary metadata attached to the proposal. */ metadata: string; /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ messages: Any[]; /** * exec defines the mode of execution of the proposal, * whether it should be executed immediately on creation or not. * If so, proposers signatures are considered as Yes votes. */ exec: Exec; /** title is the title of the proposal. */ title: string; /** summary is the summary of the proposal. */ summary: string; } /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ export interface MsgSubmitProposalResponse { /** proposal is the unique ID of the proposal. */ proposalId: Long; } /** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ export interface MsgWithdrawProposal { /** proposal is the unique ID of the proposal. */ proposalId: Long; /** address is the admin of the group policy or one of the proposer of the proposal. */ address: string; } /** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ export interface MsgWithdrawProposalResponse { } /** MsgVote is the Msg/Vote request type. */ export interface MsgVote { /** proposal is the unique ID of the proposal. */ proposalId: Long; /** voter is the voter account address. */ voter: string; /** option is the voter's choice on the proposal. */ option: VoteOption; /** metadata is any arbitrary metadata attached to the vote. */ metadata: string; /** * exec defines whether the proposal should be executed * immediately after voting or not. */ exec: Exec; } /** MsgVoteResponse is the Msg/Vote response type. */ export interface MsgVoteResponse { } /** MsgExec is the Msg/Exec request type. */ export interface MsgExec { /** proposal is the unique ID of the proposal. */ proposalId: Long; /** executor is the account address used to execute the proposal. */ executor: string; } /** MsgExecResponse is the Msg/Exec request type. */ export interface MsgExecResponse { /** result is the final result of the proposal execution. */ result: ProposalExecutorResult; } /** MsgLeaveGroup is the Msg/LeaveGroup request type. */ export interface MsgLeaveGroup { /** address is the account address of the group member. */ address: string; /** group_id is the unique ID of the group. */ groupId: Long; } /** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ export interface MsgLeaveGroupResponse { } export declare const MsgCreateGroup: { encode(message: MsgCreateGroup, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup; fromJSON(object: any): MsgCreateGroup; toJSON(message: MsgCreateGroup): unknown; create(base?: DeepPartial): MsgCreateGroup; fromPartial(object: DeepPartial): MsgCreateGroup; }; export declare const MsgCreateGroupResponse: { encode(message: MsgCreateGroupResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse; fromJSON(object: any): MsgCreateGroupResponse; toJSON(message: MsgCreateGroupResponse): unknown; create(base?: DeepPartial): MsgCreateGroupResponse; fromPartial(object: DeepPartial): MsgCreateGroupResponse; }; export declare const MsgUpdateGroupMembers: { encode(message: MsgUpdateGroupMembers, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers; fromJSON(object: any): MsgUpdateGroupMembers; toJSON(message: MsgUpdateGroupMembers): unknown; create(base?: DeepPartial): MsgUpdateGroupMembers; fromPartial(object: DeepPartial): MsgUpdateGroupMembers; }; export declare const MsgUpdateGroupMembersResponse: { encode(_: MsgUpdateGroupMembersResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse; fromJSON(_: any): MsgUpdateGroupMembersResponse; toJSON(_: MsgUpdateGroupMembersResponse): unknown; create(base?: DeepPartial): MsgUpdateGroupMembersResponse; fromPartial(_: DeepPartial): MsgUpdateGroupMembersResponse; }; export declare const MsgUpdateGroupAdmin: { encode(message: MsgUpdateGroupAdmin, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin; fromJSON(object: any): MsgUpdateGroupAdmin; toJSON(message: MsgUpdateGroupAdmin): unknown; create(base?: DeepPartial): MsgUpdateGroupAdmin; fromPartial(object: DeepPartial): MsgUpdateGroupAdmin; }; export declare const MsgUpdateGroupAdminResponse: { encode(_: MsgUpdateGroupAdminResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse; fromJSON(_: any): MsgUpdateGroupAdminResponse; toJSON(_: MsgUpdateGroupAdminResponse): unknown; create(base?: DeepPartial): MsgUpdateGroupAdminResponse; fromPartial(_: DeepPartial): MsgUpdateGroupAdminResponse; }; export declare const MsgUpdateGroupMetadata: { encode(message: MsgUpdateGroupMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata; fromJSON(object: any): MsgUpdateGroupMetadata; toJSON(message: MsgUpdateGroupMetadata): unknown; create(base?: DeepPartial): MsgUpdateGroupMetadata; fromPartial(object: DeepPartial): MsgUpdateGroupMetadata; }; export declare const MsgUpdateGroupMetadataResponse: { encode(_: MsgUpdateGroupMetadataResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse; fromJSON(_: any): MsgUpdateGroupMetadataResponse; toJSON(_: MsgUpdateGroupMetadataResponse): unknown; create(base?: DeepPartial): MsgUpdateGroupMetadataResponse; fromPartial(_: DeepPartial): MsgUpdateGroupMetadataResponse; }; export declare const MsgCreateGroupPolicy: { encode(message: MsgCreateGroupPolicy, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy; fromJSON(object: any): MsgCreateGroupPolicy; toJSON(message: MsgCreateGroupPolicy): unknown; create(base?: DeepPartial): MsgCreateGroupPolicy; fromPartial(object: DeepPartial): MsgCreateGroupPolicy; }; export declare const MsgCreateGroupPolicyResponse: { encode(message: MsgCreateGroupPolicyResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse; fromJSON(object: any): MsgCreateGroupPolicyResponse; toJSON(message: MsgCreateGroupPolicyResponse): unknown; create(base?: DeepPartial): MsgCreateGroupPolicyResponse; fromPartial(object: DeepPartial): MsgCreateGroupPolicyResponse; }; export declare const MsgUpdateGroupPolicyAdmin: { encode(message: MsgUpdateGroupPolicyAdmin, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin; fromJSON(object: any): MsgUpdateGroupPolicyAdmin; toJSON(message: MsgUpdateGroupPolicyAdmin): unknown; create(base?: DeepPartial): MsgUpdateGroupPolicyAdmin; fromPartial(object: DeepPartial): MsgUpdateGroupPolicyAdmin; }; export declare const MsgUpdateGroupPolicyAdminResponse: { encode(_: MsgUpdateGroupPolicyAdminResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse; fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse; toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown; create(base?: DeepPartial): MsgUpdateGroupPolicyAdminResponse; fromPartial(_: DeepPartial): MsgUpdateGroupPolicyAdminResponse; }; export declare const MsgCreateGroupWithPolicy: { encode(message: MsgCreateGroupWithPolicy, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy; fromJSON(object: any): MsgCreateGroupWithPolicy; toJSON(message: MsgCreateGroupWithPolicy): unknown; create(base?: DeepPartial): MsgCreateGroupWithPolicy; fromPartial(object: DeepPartial): MsgCreateGroupWithPolicy; }; export declare const MsgCreateGroupWithPolicyResponse: { encode(message: MsgCreateGroupWithPolicyResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse; fromJSON(object: any): MsgCreateGroupWithPolicyResponse; toJSON(message: MsgCreateGroupWithPolicyResponse): unknown; create(base?: DeepPartial): MsgCreateGroupWithPolicyResponse; fromPartial(object: DeepPartial): MsgCreateGroupWithPolicyResponse; }; export declare const MsgUpdateGroupPolicyDecisionPolicy: { encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy; fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy; toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown; create(base?: DeepPartial): MsgUpdateGroupPolicyDecisionPolicy; fromPartial(object: DeepPartial): MsgUpdateGroupPolicyDecisionPolicy; }; export declare const MsgUpdateGroupPolicyDecisionPolicyResponse: { encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse; fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse; toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown; create(base?: DeepPartial): MsgUpdateGroupPolicyDecisionPolicyResponse; fromPartial(_: DeepPartial): MsgUpdateGroupPolicyDecisionPolicyResponse; }; export declare const MsgUpdateGroupPolicyMetadata: { encode(message: MsgUpdateGroupPolicyMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata; fromJSON(object: any): MsgUpdateGroupPolicyMetadata; toJSON(message: MsgUpdateGroupPolicyMetadata): unknown; create(base?: DeepPartial): MsgUpdateGroupPolicyMetadata; fromPartial(object: DeepPartial): MsgUpdateGroupPolicyMetadata; }; export declare const MsgUpdateGroupPolicyMetadataResponse: { encode(_: MsgUpdateGroupPolicyMetadataResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse; fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse; toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown; create(base?: DeepPartial): MsgUpdateGroupPolicyMetadataResponse; fromPartial(_: DeepPartial): MsgUpdateGroupPolicyMetadataResponse; }; export declare const MsgSubmitProposal: { encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal; fromJSON(object: any): MsgSubmitProposal; toJSON(message: MsgSubmitProposal): unknown; create(base?: DeepPartial): MsgSubmitProposal; fromPartial(object: DeepPartial): MsgSubmitProposal; }; export declare const MsgSubmitProposalResponse: { encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse; fromJSON(object: any): MsgSubmitProposalResponse; toJSON(message: MsgSubmitProposalResponse): unknown; create(base?: DeepPartial): MsgSubmitProposalResponse; fromPartial(object: DeepPartial): MsgSubmitProposalResponse; }; export declare const MsgWithdrawProposal: { encode(message: MsgWithdrawProposal, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal; fromJSON(object: any): MsgWithdrawProposal; toJSON(message: MsgWithdrawProposal): unknown; create(base?: DeepPartial): MsgWithdrawProposal; fromPartial(object: DeepPartial): MsgWithdrawProposal; }; export declare const MsgWithdrawProposalResponse: { encode(_: MsgWithdrawProposalResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse; fromJSON(_: any): MsgWithdrawProposalResponse; toJSON(_: MsgWithdrawProposalResponse): unknown; create(base?: DeepPartial): MsgWithdrawProposalResponse; fromPartial(_: DeepPartial): MsgWithdrawProposalResponse; }; export declare const MsgVote: { encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote; fromJSON(object: any): MsgVote; toJSON(message: MsgVote): unknown; create(base?: DeepPartial): MsgVote; fromPartial(object: DeepPartial): MsgVote; }; export declare const MsgVoteResponse: { encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse; fromJSON(_: any): MsgVoteResponse; toJSON(_: MsgVoteResponse): unknown; create(base?: DeepPartial): MsgVoteResponse; fromPartial(_: DeepPartial): MsgVoteResponse; }; export declare const MsgExec: { encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec; fromJSON(object: any): MsgExec; toJSON(message: MsgExec): unknown; create(base?: DeepPartial): MsgExec; fromPartial(object: DeepPartial): MsgExec; }; export declare const MsgExecResponse: { encode(message: MsgExecResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse; fromJSON(object: any): MsgExecResponse; toJSON(message: MsgExecResponse): unknown; create(base?: DeepPartial): MsgExecResponse; fromPartial(object: DeepPartial): MsgExecResponse; }; export declare const MsgLeaveGroup: { encode(message: MsgLeaveGroup, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup; fromJSON(object: any): MsgLeaveGroup; toJSON(message: MsgLeaveGroup): unknown; create(base?: DeepPartial): MsgLeaveGroup; fromPartial(object: DeepPartial): MsgLeaveGroup; }; export declare const MsgLeaveGroupResponse: { encode(_: MsgLeaveGroupResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse; fromJSON(_: any): MsgLeaveGroupResponse; toJSON(_: MsgLeaveGroupResponse): unknown; create(base?: DeepPartial): MsgLeaveGroupResponse; fromPartial(_: DeepPartial): MsgLeaveGroupResponse; }; /** Msg is the cosmos.group.v1 Msg service. */ export interface Msg { /** CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. */ CreateGroup(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateGroupMembers updates the group members with given group id and admin address. */ UpdateGroupMembers(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateGroupAdmin updates the group admin with given group id and previous admin address. */ UpdateGroupAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateGroupMetadata updates the group metadata with given group id and admin address. */ UpdateGroupMetadata(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** CreateGroupPolicy creates a new group policy using given DecisionPolicy. */ CreateGroupPolicy(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** CreateGroupWithPolicy creates a new group with policy. */ CreateGroupWithPolicy(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateGroupPolicyAdmin updates a group policy admin. */ UpdateGroupPolicyAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. */ UpdateGroupPolicyDecisionPolicy(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateGroupPolicyMetadata updates a group policy metadata. */ UpdateGroupPolicyMetadata(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** SubmitProposal submits a new proposal. */ SubmitProposal(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** WithdrawProposal withdraws a proposal. */ WithdrawProposal(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Vote allows a voter to vote on a proposal. */ Vote(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Exec executes a proposal. */ Exec(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** LeaveGroup allows a group member to leave the group. */ LeaveGroup(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); CreateGroup(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateGroupMembers(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateGroupAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateGroupMetadata(request: DeepPartial, metadata?: grpc.Metadata): Promise; CreateGroupPolicy(request: DeepPartial, metadata?: grpc.Metadata): Promise; CreateGroupWithPolicy(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateGroupPolicyAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateGroupPolicyDecisionPolicy(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateGroupPolicyMetadata(request: DeepPartial, metadata?: grpc.Metadata): Promise; SubmitProposal(request: DeepPartial, metadata?: grpc.Metadata): Promise; WithdrawProposal(request: DeepPartial, metadata?: grpc.Metadata): Promise; Vote(request: DeepPartial, metadata?: grpc.Metadata): Promise; Exec(request: DeepPartial, metadata?: grpc.Metadata): Promise; LeaveGroup(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare const MsgDesc: { serviceName: string; }; export declare const MsgCreateGroupDesc: UnaryMethodDefinitionish; export declare const MsgUpdateGroupMembersDesc: UnaryMethodDefinitionish; export declare const MsgUpdateGroupAdminDesc: UnaryMethodDefinitionish; export declare const MsgUpdateGroupMetadataDesc: UnaryMethodDefinitionish; export declare const MsgCreateGroupPolicyDesc: UnaryMethodDefinitionish; export declare const MsgCreateGroupWithPolicyDesc: UnaryMethodDefinitionish; export declare const MsgUpdateGroupPolicyAdminDesc: UnaryMethodDefinitionish; export declare const MsgUpdateGroupPolicyDecisionPolicyDesc: UnaryMethodDefinitionish; export declare const MsgUpdateGroupPolicyMetadataDesc: UnaryMethodDefinitionish; export declare const MsgSubmitProposalDesc: UnaryMethodDefinitionish; export declare const MsgWithdrawProposalDesc: UnaryMethodDefinitionish; export declare const MsgVoteDesc: UnaryMethodDefinitionish; export declare const MsgExecDesc: UnaryMethodDefinitionish; export declare const MsgLeaveGroupDesc: 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 {};