"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
Since: cosmos-sdk 0.46"""
import builtins
import collections.abc
import cosmos.base.query.v1beta1.pagination_pb2
import cosmos.group.v1.types_pb2
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import sys

if sys.version_info >= (3, 8):
    import typing as typing_extensions
else:
    import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing_extensions.final
class QueryGroupInfoRequest(google.protobuf.message.Message):
    """QueryGroupInfoRequest is the Query/GroupInfo request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUP_ID_FIELD_NUMBER: builtins.int
    group_id: builtins.int
    """group_id is the unique ID of the group."""
    def __init__(
        self,
        *,
        group_id: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["group_id", b"group_id"]) -> None: ...

global___QueryGroupInfoRequest = QueryGroupInfoRequest

@typing_extensions.final
class QueryGroupInfoResponse(google.protobuf.message.Message):
    """QueryGroupInfoResponse is the Query/GroupInfo response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    INFO_FIELD_NUMBER: builtins.int
    @property
    def info(self) -> cosmos.group.v1.types_pb2.GroupInfo:
        """info is the GroupInfo of the group."""
    def __init__(
        self,
        *,
        info: cosmos.group.v1.types_pb2.GroupInfo | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["info", b"info"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["info", b"info"]) -> None: ...

global___QueryGroupInfoResponse = QueryGroupInfoResponse

@typing_extensions.final
class QueryGroupPolicyInfoRequest(google.protobuf.message.Message):
    """QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ADDRESS_FIELD_NUMBER: builtins.int
    address: builtins.str
    """address is the account address of the group policy."""
    def __init__(
        self,
        *,
        address: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["address", b"address"]) -> None: ...

global___QueryGroupPolicyInfoRequest = QueryGroupPolicyInfoRequest

@typing_extensions.final
class QueryGroupPolicyInfoResponse(google.protobuf.message.Message):
    """QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    INFO_FIELD_NUMBER: builtins.int
    @property
    def info(self) -> cosmos.group.v1.types_pb2.GroupPolicyInfo:
        """info is the GroupPolicyInfo of the group policy."""
    def __init__(
        self,
        *,
        info: cosmos.group.v1.types_pb2.GroupPolicyInfo | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["info", b"info"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["info", b"info"]) -> None: ...

global___QueryGroupPolicyInfoResponse = QueryGroupPolicyInfoResponse

@typing_extensions.final
class QueryGroupMembersRequest(google.protobuf.message.Message):
    """QueryGroupMembersRequest is the Query/GroupMembers request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUP_ID_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    group_id: builtins.int
    """group_id is the unique ID of the group."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        group_id: builtins.int = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["group_id", b"group_id", "pagination", b"pagination"]) -> None: ...

global___QueryGroupMembersRequest = QueryGroupMembersRequest

@typing_extensions.final
class QueryGroupMembersResponse(google.protobuf.message.Message):
    """QueryGroupMembersResponse is the Query/GroupMembersResponse response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    MEMBERS_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def members(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.GroupMember]:
        """members are the members of the group with given group_id."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        members: collections.abc.Iterable[cosmos.group.v1.types_pb2.GroupMember] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["members", b"members", "pagination", b"pagination"]) -> None: ...

global___QueryGroupMembersResponse = QueryGroupMembersResponse

@typing_extensions.final
class QueryGroupsByAdminRequest(google.protobuf.message.Message):
    """QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ADMIN_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    admin: builtins.str
    """admin is the account address of a group's admin."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        admin: builtins.str = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["admin", b"admin", "pagination", b"pagination"]) -> None: ...

global___QueryGroupsByAdminRequest = QueryGroupsByAdminRequest

@typing_extensions.final
class QueryGroupsByAdminResponse(google.protobuf.message.Message):
    """QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUPS_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.GroupInfo]:
        """groups are the groups info with the provided admin."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        groups: collections.abc.Iterable[cosmos.group.v1.types_pb2.GroupInfo] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups", "pagination", b"pagination"]) -> None: ...

global___QueryGroupsByAdminResponse = QueryGroupsByAdminResponse

@typing_extensions.final
class QueryGroupPoliciesByGroupRequest(google.protobuf.message.Message):
    """QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUP_ID_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    group_id: builtins.int
    """group_id is the unique ID of the group policy's group."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        group_id: builtins.int = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["group_id", b"group_id", "pagination", b"pagination"]) -> None: ...

global___QueryGroupPoliciesByGroupRequest = QueryGroupPoliciesByGroupRequest

@typing_extensions.final
class QueryGroupPoliciesByGroupResponse(google.protobuf.message.Message):
    """QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUP_POLICIES_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def group_policies(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.GroupPolicyInfo]:
        """group_policies are the group policies info associated with the provided group."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        group_policies: collections.abc.Iterable[cosmos.group.v1.types_pb2.GroupPolicyInfo] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["group_policies", b"group_policies", "pagination", b"pagination"]) -> None: ...

global___QueryGroupPoliciesByGroupResponse = QueryGroupPoliciesByGroupResponse

@typing_extensions.final
class QueryGroupPoliciesByAdminRequest(google.protobuf.message.Message):
    """QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ADMIN_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    admin: builtins.str
    """admin is the admin address of the group policy."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        admin: builtins.str = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["admin", b"admin", "pagination", b"pagination"]) -> None: ...

global___QueryGroupPoliciesByAdminRequest = QueryGroupPoliciesByAdminRequest

@typing_extensions.final
class QueryGroupPoliciesByAdminResponse(google.protobuf.message.Message):
    """QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUP_POLICIES_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def group_policies(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.GroupPolicyInfo]:
        """group_policies are the group policies info with provided admin."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        group_policies: collections.abc.Iterable[cosmos.group.v1.types_pb2.GroupPolicyInfo] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["group_policies", b"group_policies", "pagination", b"pagination"]) -> None: ...

global___QueryGroupPoliciesByAdminResponse = QueryGroupPoliciesByAdminResponse

@typing_extensions.final
class QueryProposalRequest(google.protobuf.message.Message):
    """QueryProposalRequest is the Query/Proposal request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PROPOSAL_ID_FIELD_NUMBER: builtins.int
    proposal_id: builtins.int
    """proposal_id is the unique ID of a proposal."""
    def __init__(
        self,
        *,
        proposal_id: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["proposal_id", b"proposal_id"]) -> None: ...

global___QueryProposalRequest = QueryProposalRequest

@typing_extensions.final
class QueryProposalResponse(google.protobuf.message.Message):
    """QueryProposalResponse is the Query/Proposal response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PROPOSAL_FIELD_NUMBER: builtins.int
    @property
    def proposal(self) -> cosmos.group.v1.types_pb2.Proposal:
        """proposal is the proposal info."""
    def __init__(
        self,
        *,
        proposal: cosmos.group.v1.types_pb2.Proposal | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["proposal", b"proposal"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["proposal", b"proposal"]) -> None: ...

global___QueryProposalResponse = QueryProposalResponse

@typing_extensions.final
class QueryProposalsByGroupPolicyRequest(google.protobuf.message.Message):
    """QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ADDRESS_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    address: builtins.str
    """address is the account address of the group policy related to proposals."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        address: builtins.str = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["address", b"address", "pagination", b"pagination"]) -> None: ...

global___QueryProposalsByGroupPolicyRequest = QueryProposalsByGroupPolicyRequest

@typing_extensions.final
class QueryProposalsByGroupPolicyResponse(google.protobuf.message.Message):
    """QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PROPOSALS_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def proposals(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.Proposal]:
        """proposals are the proposals with given group policy."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        proposals: collections.abc.Iterable[cosmos.group.v1.types_pb2.Proposal] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "proposals", b"proposals"]) -> None: ...

global___QueryProposalsByGroupPolicyResponse = QueryProposalsByGroupPolicyResponse

@typing_extensions.final
class QueryVoteByProposalVoterRequest(google.protobuf.message.Message):
    """QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PROPOSAL_ID_FIELD_NUMBER: builtins.int
    VOTER_FIELD_NUMBER: builtins.int
    proposal_id: builtins.int
    """proposal_id is the unique ID of a proposal."""
    voter: builtins.str
    """voter is a proposal voter account address."""
    def __init__(
        self,
        *,
        proposal_id: builtins.int = ...,
        voter: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["proposal_id", b"proposal_id", "voter", b"voter"]) -> None: ...

global___QueryVoteByProposalVoterRequest = QueryVoteByProposalVoterRequest

@typing_extensions.final
class QueryVoteByProposalVoterResponse(google.protobuf.message.Message):
    """QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    VOTE_FIELD_NUMBER: builtins.int
    @property
    def vote(self) -> cosmos.group.v1.types_pb2.Vote:
        """vote is the vote with given proposal_id and voter."""
    def __init__(
        self,
        *,
        vote: cosmos.group.v1.types_pb2.Vote | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["vote", b"vote"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["vote", b"vote"]) -> None: ...

global___QueryVoteByProposalVoterResponse = QueryVoteByProposalVoterResponse

@typing_extensions.final
class QueryVotesByProposalRequest(google.protobuf.message.Message):
    """QueryVotesByProposalRequest is the Query/VotesByProposal request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PROPOSAL_ID_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    proposal_id: builtins.int
    """proposal_id is the unique ID of a proposal."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        proposal_id: builtins.int = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "proposal_id", b"proposal_id"]) -> None: ...

global___QueryVotesByProposalRequest = QueryVotesByProposalRequest

@typing_extensions.final
class QueryVotesByProposalResponse(google.protobuf.message.Message):
    """QueryVotesByProposalResponse is the Query/VotesByProposal response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    VOTES_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def votes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.Vote]:
        """votes are the list of votes for given proposal_id."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        votes: collections.abc.Iterable[cosmos.group.v1.types_pb2.Vote] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "votes", b"votes"]) -> None: ...

global___QueryVotesByProposalResponse = QueryVotesByProposalResponse

@typing_extensions.final
class QueryVotesByVoterRequest(google.protobuf.message.Message):
    """QueryVotesByVoterRequest is the Query/VotesByVoter request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    VOTER_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    voter: builtins.str
    """voter is a proposal voter account address."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        voter: builtins.str = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "voter", b"voter"]) -> None: ...

global___QueryVotesByVoterRequest = QueryVotesByVoterRequest

@typing_extensions.final
class QueryVotesByVoterResponse(google.protobuf.message.Message):
    """QueryVotesByVoterResponse is the Query/VotesByVoter response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    VOTES_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def votes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.Vote]:
        """votes are the list of votes by given voter."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        votes: collections.abc.Iterable[cosmos.group.v1.types_pb2.Vote] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "votes", b"votes"]) -> None: ...

global___QueryVotesByVoterResponse = QueryVotesByVoterResponse

@typing_extensions.final
class QueryGroupsByMemberRequest(google.protobuf.message.Message):
    """QueryGroupsByMemberRequest is the Query/GroupsByMember request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ADDRESS_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    address: builtins.str
    """address is the group member address."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        address: builtins.str = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["address", b"address", "pagination", b"pagination"]) -> None: ...

global___QueryGroupsByMemberRequest = QueryGroupsByMemberRequest

@typing_extensions.final
class QueryGroupsByMemberResponse(google.protobuf.message.Message):
    """QueryGroupsByMemberResponse is the Query/GroupsByMember response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUPS_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.GroupInfo]:
        """groups are the groups info with the provided group member."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        groups: collections.abc.Iterable[cosmos.group.v1.types_pb2.GroupInfo] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups", "pagination", b"pagination"]) -> None: ...

global___QueryGroupsByMemberResponse = QueryGroupsByMemberResponse

@typing_extensions.final
class QueryTallyResultRequest(google.protobuf.message.Message):
    """QueryTallyResultRequest is the Query/TallyResult request type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PROPOSAL_ID_FIELD_NUMBER: builtins.int
    proposal_id: builtins.int
    """proposal_id is the unique id of a proposal."""
    def __init__(
        self,
        *,
        proposal_id: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["proposal_id", b"proposal_id"]) -> None: ...

global___QueryTallyResultRequest = QueryTallyResultRequest

@typing_extensions.final
class QueryTallyResultResponse(google.protobuf.message.Message):
    """QueryTallyResultResponse is the Query/TallyResult response type."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    TALLY_FIELD_NUMBER: builtins.int
    @property
    def tally(self) -> cosmos.group.v1.types_pb2.TallyResult:
        """tally defines the requested tally."""
    def __init__(
        self,
        *,
        tally: cosmos.group.v1.types_pb2.TallyResult | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["tally", b"tally"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["tally", b"tally"]) -> None: ...

global___QueryTallyResultResponse = QueryTallyResultResponse

@typing_extensions.final
class QueryGroupsRequest(google.protobuf.message.Message):
    """QueryGroupsRequest is the Query/Groups request type.

    Since: cosmos-sdk 0.47.1
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageRequest:
        """pagination defines an optional pagination for the request."""
    def __init__(
        self,
        *,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> None: ...

global___QueryGroupsRequest = QueryGroupsRequest

@typing_extensions.final
class QueryGroupsResponse(google.protobuf.message.Message):
    """QueryGroupsResponse is the Query/Groups response type.

    Since: cosmos-sdk 0.47.1
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    GROUPS_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.group.v1.types_pb2.GroupInfo]:
        """`groups` is all the groups present in state."""
    @property
    def pagination(self) -> cosmos.base.query.v1beta1.pagination_pb2.PageResponse:
        """pagination defines the pagination in the response."""
    def __init__(
        self,
        *,
        groups: collections.abc.Iterable[cosmos.group.v1.types_pb2.GroupInfo] | None = ...,
        pagination: cosmos.base.query.v1beta1.pagination_pb2.PageResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups", "pagination", b"pagination"]) -> None: ...

global___QueryGroupsResponse = QueryGroupsResponse
