import Long from "long"; import _m0 from "protobufjs/minimal"; 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: { encode(message: Module, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Module; fromJSON(object: any): Module; toJSON(message: Module): unknown; create(base?: DeepPartial): Module; fromPartial(object: DeepPartial): Module; }; export declare const ModuleAccountPermission: { encode(message: ModuleAccountPermission, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccountPermission; fromJSON(object: any): ModuleAccountPermission; toJSON(message: ModuleAccountPermission): unknown; create(base?: DeepPartial): ModuleAccountPermission; fromPartial(object: DeepPartial): ModuleAccountPermission; }; 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 {};