import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; import * as _m0 from "protobufjs/minimal"; import { Rpc } from "../../../helpers"; export declare const protobufPackage = "cosmos.bank.v1beta1"; /** MsgSend represents a message to send coins from one account to another. */ export interface MsgSend { fromAddress: string; toAddress: string; amount: Coin[]; } /** MsgSend represents a message to send coins from one account to another. */ export interface MsgSendSDKType { from_address: string; to_address: string; amount: CoinSDKType[]; } /** MsgSendResponse defines the Msg/Send response type. */ export interface MsgSendResponse { } /** MsgSendResponse defines the Msg/Send response type. */ export interface MsgSendResponseSDKType { } /** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ export interface MsgMultiSend { inputs: Input[]; outputs: Output[]; } /** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ export interface MsgMultiSendSDKType { inputs: InputSDKType[]; outputs: OutputSDKType[]; } /** MsgMultiSendResponse defines the Msg/MultiSend response type. */ export interface MsgMultiSendResponse { } /** MsgMultiSendResponse defines the Msg/MultiSend response type. */ export interface MsgMultiSendResponseSDKType { } export declare const MsgSend: { encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend; fromJSON(object: any): MsgSend; toJSON(message: MsgSend): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): MsgSend; fromSDK(object: MsgSendSDKType): MsgSend; toSDK(message: MsgSend): MsgSendSDKType; }; export declare const MsgSendResponse: { encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse; fromJSON(_: any): MsgSendResponse; toJSON(_: MsgSendResponse): unknown; fromPartial, never>>(_: I): MsgSendResponse; fromSDK(_: MsgSendResponseSDKType): MsgSendResponse; toSDK(_: MsgSendResponse): MsgSendResponseSDKType; }; export declare const MsgMultiSend: { encode(message: MsgMultiSend, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend; fromJSON(object: any): MsgMultiSend; toJSON(message: MsgMultiSend): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; outputs?: ({ address?: string | undefined; coins?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; }[] & ({ address?: string | undefined; coins?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; } & { address?: string | undefined; coins?: ({ denom?: string | undefined; amount?: string | undefined; }[] & ({ denom?: string | undefined; amount?: string | undefined; } & { denom?: string | undefined; amount?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): MsgMultiSend; fromSDK(object: MsgMultiSendSDKType): MsgMultiSend; toSDK(message: MsgMultiSend): MsgMultiSendSDKType; }; export declare const MsgMultiSendResponse: { encode(_: MsgMultiSendResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse; fromJSON(_: any): MsgMultiSendResponse; toJSON(_: MsgMultiSendResponse): unknown; fromPartial, never>>(_: I): MsgMultiSendResponse; fromSDK(_: MsgMultiSendResponseSDKType): MsgMultiSendResponse; toSDK(_: MsgMultiSendResponse): MsgMultiSendResponseSDKType; }; /** Msg defines the bank Msg service. */ export interface Msg { /** Send defines a method for sending coins from one account to another account. */ Send(request: MsgSend): Promise; /** MultiSend defines a method for sending coins from some accounts to other accounts. */ MultiSend(request: MsgMultiSend): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); Send(request: MsgSend): Promise; MultiSend(request: MsgMultiSend): Promise; }