import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType } from "./types"; import { Long } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; /** GenesisState defines the group module's genesis state. */ export interface GenesisState { /** * group_seq is the group table orm.Sequence, * it is used to get the next group ID. */ groupSeq: Long; /** groups is the list of groups info. */ groups: GroupInfo[]; /** group_members is the list of groups members. */ groupMembers: GroupMember[]; /** * group_policy_seq is the group policy table orm.Sequence, * it is used to generate the next group policy account address. */ groupPolicySeq: Long; /** group_policies is the list of group policies info. */ groupPolicies: GroupPolicyInfo[]; /** * proposal_seq is the proposal table orm.Sequence, * it is used to get the next proposal ID. */ proposalSeq: Long; /** proposals is the list of proposals. */ proposals: Proposal[]; /** votes is the list of votes. */ votes: Vote[]; } export interface GenesisStateProtoMsg { typeUrl: "/cosmos.group.v1.GenesisState"; value: Uint8Array; } /** GenesisState defines the group module's genesis state. */ export interface GenesisStateAmino { /** * group_seq is the group table orm.Sequence, * it is used to get the next group ID. */ group_seq: string; /** groups is the list of groups info. */ groups: GroupInfoAmino[]; /** group_members is the list of groups members. */ group_members: GroupMemberAmino[]; /** * group_policy_seq is the group policy table orm.Sequence, * it is used to generate the next group policy account address. */ group_policy_seq: string; /** group_policies is the list of group policies info. */ group_policies: GroupPolicyInfoAmino[]; /** * proposal_seq is the proposal table orm.Sequence, * it is used to get the next proposal ID. */ proposal_seq: string; /** proposals is the list of proposals. */ proposals: ProposalAmino[]; /** votes is the list of votes. */ votes: VoteAmino[]; } export interface GenesisStateAminoMsg { type: "cosmos-sdk/GenesisState"; value: GenesisStateAmino; } /** GenesisState defines the group module's genesis state. */ export interface GenesisStateSDKType { group_seq: Long; groups: GroupInfoSDKType[]; group_members: GroupMemberSDKType[]; group_policy_seq: Long; group_policies: GroupPolicyInfoSDKType[]; proposal_seq: Long; proposals: ProposalSDKType[]; votes: VoteSDKType[]; } export declare const GenesisState: { encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; fromPartial(object: Partial): GenesisState; fromAmino(object: GenesisStateAmino): GenesisState; toAmino(message: GenesisState): GenesisStateAmino; fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; toAminoMsg(message: GenesisState): GenesisStateAminoMsg; fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; toProto(message: GenesisState): Uint8Array; toProtoMsg(message: GenesisState): GenesisStateProtoMsg; };