import _m0 from "protobufjs/minimal"; import { Coin } from "../../cosmos/base/v1beta1/coin"; import { Params } from "../../babylon/incentive/params"; export declare const protobufPackage = "babylon.incentive"; /** MsgWithdrawReward defines a message for withdrawing reward of a stakeholder. */ export interface MsgWithdrawReward { /** type is the stakeholder type {finality_provider, btc_staker} */ type: string; /** * address is the address of the stakeholder in bech32 string * signer of this msg has to be this address */ address: string; } /** MsgWithdrawRewardResponse is the response to the MsgWithdrawReward message */ export interface MsgWithdrawRewardResponse { /** coins is the withdrawed coins */ coins: Coin[]; } /** MsgUpdateParams defines a message for updating incentive module parameters. */ export interface MsgUpdateParams { /** * authority is the address of the governance account. * just FYI: cosmos.AddressString marks that this field should use type alias * for AddressString instead of string, but the functionality is not yet * implemented in cosmos-proto */ authority: string; /** * params defines the incentive parameters to update. * * NOTE: All parameters must be supplied. */ params: Params | undefined; } /** MsgUpdateParamsResponse is the response to the MsgUpdateParams message. */ export interface MsgUpdateParamsResponse { } /** MsgSetWithdrawAddress sets the withdraw address */ export interface MsgSetWithdrawAddress { delegatorAddress: string; withdrawAddress: string; } /** * MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response * type. */ export interface MsgSetWithdrawAddressResponse { } export declare const MsgWithdrawReward: { encode(message: MsgWithdrawReward, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawReward; fromJSON(object: any): MsgWithdrawReward; toJSON(message: MsgWithdrawReward): unknown; fromPartial, never>>(object: I): MsgWithdrawReward; }; export declare const MsgWithdrawRewardResponse: { encode(message: MsgWithdrawRewardResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawRewardResponse; fromJSON(object: any): MsgWithdrawRewardResponse; toJSON(message: MsgWithdrawRewardResponse): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): MsgWithdrawRewardResponse; }; export declare const MsgUpdateParams: { encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): MsgUpdateParams; }; export declare const MsgUpdateParamsResponse: { encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): unknown; fromPartial, never>>(_: I): MsgUpdateParamsResponse; }; export declare const MsgSetWithdrawAddress: { encode(message: MsgSetWithdrawAddress, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress; fromJSON(object: any): MsgSetWithdrawAddress; toJSON(message: MsgSetWithdrawAddress): unknown; fromPartial, never>>(object: I): MsgSetWithdrawAddress; }; export declare const MsgSetWithdrawAddressResponse: { encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse; fromJSON(_: any): MsgSetWithdrawAddressResponse; toJSON(_: MsgSetWithdrawAddressResponse): unknown; fromPartial, never>>(_: I): MsgSetWithdrawAddressResponse; }; /** Msg defines the Msg service. */ export interface Msg { /** WithdrawReward defines a method to withdraw rewards of a stakeholder */ WithdrawReward(request: MsgWithdrawReward): Promise; /** UpdateParams updates the incentive module parameters. */ UpdateParams(request: MsgUpdateParams): Promise; /** * SetWithdrawAddress defines a method to change the withdraw address of a * stakeholder */ SetWithdrawAddress(request: MsgSetWithdrawAddress): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};