import Long from "long"; import _m0 from "protobufjs/minimal"; import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { InflationDistribution } from "./inflation"; /** MsgToggleInflation defines a message to enable or disable inflation. */ export interface MsgToggleInflation { sender: string; enable: boolean; } export interface MsgEditInflationParams { sender: string; inflationEnabled: boolean; polynomialFactors: string[]; inflationDistribution?: InflationDistribution; epochsPerPeriod: string; periodsPerYear: string; maxPeriod: string; } export interface MsgToggleInflationResponse { } export interface MsgEditInflationParamsResponse { } /** MsgBurn: allows burning of any token */ export interface MsgBurn { sender: string; coin?: Coin; } export interface MsgBurnResponse { } export declare const MsgToggleInflation: { encode(message: MsgToggleInflation, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgToggleInflation; fromJSON(object: any): MsgToggleInflation; toJSON(message: MsgToggleInflation): unknown; create, I>>(base?: I): MsgToggleInflation; fromPartial, I>>(object: I): MsgToggleInflation; }; export declare const MsgEditInflationParams: { encode(message: MsgEditInflationParams, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditInflationParams; fromJSON(object: any): MsgEditInflationParams; toJSON(message: MsgEditInflationParams): unknown; create, I>>(base?: I): MsgEditInflationParams; fromPartial, I>>(object: I): MsgEditInflationParams; }; export declare const MsgToggleInflationResponse: { encode(_: MsgToggleInflationResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgToggleInflationResponse; fromJSON(_: any): MsgToggleInflationResponse; toJSON(_: MsgToggleInflationResponse): unknown; create, I>>(base?: I): MsgToggleInflationResponse; fromPartial, I>>(_: I): MsgToggleInflationResponse; }; export declare const MsgEditInflationParamsResponse: { encode(_: MsgEditInflationParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditInflationParamsResponse; fromJSON(_: any): MsgEditInflationParamsResponse; toJSON(_: MsgEditInflationParamsResponse): unknown; create, I>>(base?: I): MsgEditInflationParamsResponse; fromPartial, I>>(_: I): MsgEditInflationParamsResponse; }; export declare const MsgBurn: { encode(message: MsgBurn, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgBurn; fromJSON(object: any): MsgBurn; toJSON(message: MsgBurn): unknown; create, I>>(base?: I): MsgBurn; fromPartial, I>>(object: I): MsgBurn; }; export declare const MsgBurnResponse: { encode(_: MsgBurnResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgBurnResponse; fromJSON(_: any): MsgBurnResponse; toJSON(_: MsgBurnResponse): unknown; create, I>>(base?: I): MsgBurnResponse; fromPartial, I>>(_: I): MsgBurnResponse; }; export interface Msg { /** ToggleInflation defines a method to enable or disable inflation. */ ToggleInflation(request: MsgToggleInflation): Promise; /** EditInflationParams defines a method to edit the inflation params. */ EditInflationParams(request: MsgEditInflationParams): Promise; } export declare const MsgServiceName = "nibiru.inflation.v1.Msg"; export declare class MsgClientImpl implements Msg { private readonly rpc; private readonly service; constructor(rpc: Rpc, opts?: { service?: string; }); ToggleInflation(request: MsgToggleInflation): Promise; EditInflationParams(request: MsgEditInflationParams): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export {}; //# sourceMappingURL=tx.d.ts.map