import _m0 from "protobufjs/minimal"; import { TokenTransferList, TransferList } from "./basic_types"; export declare const protobufPackage = "proto"; /** * Transfers cryptocurrency among two or more accounts by making the desired adjustments to their * balances. Each transfer list can specify up to 10 adjustments. Each negative amount is withdrawn * from the corresponding account (a sender), and each positive one is added to the corresponding * account (a receiver). The amounts list must sum to zero. Each amount is a number of tinybars * (there are 100,000,000 tinybars in one hbar). If any sender account fails to have sufficient * hbars, then the entire transaction fails, and none of those transfers occur, though the * transaction fee is still charged. This transaction must be signed by the keys for all the sending * accounts, and for any receiving accounts that have receiverSigRequired == true. The signatures * are in the same order as the accounts, skipping those accounts that don't need a signature. */ export interface CryptoTransferTransactionBody { /** The desired hbar balance adjustments */ transfers: TransferList | undefined; /** * The desired token unit balance adjustments; if any custom fees are assessed, the ledger will * try to deduct them from the payer of this CryptoTransfer, resolving the transaction to * INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE if this is not possible */ tokenTransfers: TokenTransferList[]; } export declare const CryptoTransferTransactionBody: { encode(message: CryptoTransferTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CryptoTransferTransactionBody; fromJSON(object: any): CryptoTransferTransactionBody; toJSON(message: CryptoTransferTransactionBody): unknown; create(base?: DeepPartial): CryptoTransferTransactionBody; fromPartial(object: DeepPartial): CryptoTransferTransactionBody; }; 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 { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=crypto_transfer.d.ts.map