import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; 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: { typeUrl: string; encode(message: MsgSend, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSend; fromJSON(object: any): MsgSend; toJSON(message: MsgSend): unknown; fromPartial & { fromAddress?: string; toAddress?: string; amount?: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): MsgSend; }; export declare const MsgSendResponse: { typeUrl: string; encode(_: MsgSendResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSendResponse; fromJSON(_: any): MsgSendResponse; toJSON(_: MsgSendResponse): unknown; fromPartial & {} & Record, never>>(_: I): MsgSendResponse; }; export declare const MsgMultiSend: { typeUrl: string; encode(message: MsgMultiSend, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgMultiSend; fromJSON(object: any): MsgMultiSend; toJSON(message: MsgMultiSend): unknown; fromPartial & { inputs?: Input[] & (Input & { address: string; coins: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; outputs?: Output[] & (Output & { address: string; coins: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): MsgMultiSend; }; export declare const MsgMultiSendResponse: { typeUrl: string; encode(_: MsgMultiSendResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgMultiSendResponse; fromJSON(_: any): MsgMultiSendResponse; toJSON(_: MsgMultiSendResponse): unknown; fromPartial & {} & Record, never>>(_: I): MsgMultiSendResponse; }; /** 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: TxRpc); Send(request: MsgSend): Promise; MultiSend(request: MsgMultiSend): Promise; }