"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import collections.abc
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 Module(google.protobuf.message.Message):
    """Module is the config object of the staking module."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    HOOKS_ORDER_FIELD_NUMBER: builtins.int
    AUTHORITY_FIELD_NUMBER: builtins.int
    @property
    def hooks_order(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
        """hooks_order specifies the order of staking hooks and should be a list
        of module names which provide a staking hooks instance. If no order is
        provided, then hooks will be applied in alphabetical order of module names.
        """
    authority: builtins.str
    """authority defines the custom module authority. If not set, defaults to the governance module."""
    def __init__(
        self,
        *,
        hooks_order: collections.abc.Iterable[builtins.str] | None = ...,
        authority: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "hooks_order", b"hooks_order"]) -> None: ...

global___Module = Module
