import { BinaryReader, BinaryWriter } from "../../../../binary"; import { DeepPartial, Exact } from "../../../../helpers"; import { JsonSafe } from "../../../../json-safe"; export declare const protobufPackage = "cosmos.auth.module.v1"; /** Module is the config object for the auth module. */ export interface Module { /** bech32_prefix is the bech32 account prefix for the app. */ bech32Prefix: string; /** module_account_permissions are module account permissions. */ moduleAccountPermissions: ModuleAccountPermission[]; /** authority defines the custom module authority. If not set, defaults to the governance module. */ authority: string; /** * enable_unordered_transactions determines whether unordered transactions should be supported or not. * When true, unordered transactions will be validated and processed. * When false, unordered transactions will be rejected. */ enableUnorderedTransactions: boolean; } /** ModuleAccountPermission represents permissions for a module account. */ export interface ModuleAccountPermission { /** account is the name of the module. */ account: string; /** * permissions are the permissions this module has. Currently recognized * values are minter, burner and staking. */ permissions: string[]; } export declare const Module: { typeUrl: string; encode(message: Module, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Module; fromJSON(object: any): Module; toJSON(message: Module): JsonSafe; fromPartial, I>>(object: I): Module; }; export declare const ModuleAccountPermission: { typeUrl: string; encode(message: ModuleAccountPermission, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ModuleAccountPermission; fromJSON(object: any): ModuleAccountPermission; toJSON(message: ModuleAccountPermission): JsonSafe; fromPartial, I>>(object: I): ModuleAccountPermission; };