import _m0 from "protobufjs/minimal"; import { SignatureList, SignatureMap } from "./basic_types"; import { TransactionBody } from "./transaction_body"; export declare const protobufPackage = "proto"; /** * A single signed transaction, including all its signatures. The SignatureList will have a * Signature for each Key in the transaction, either explicit or implicit, in the order that they * appear in the transaction. For example, a CryptoTransfer will first have a Signature * corresponding to the Key for the paying account, followed by a Signature corresponding to the Key * for each account that is sending or receiving cryptocurrency in the transfer. Each Transaction * should not have more than 50 levels. * The SignatureList field is deprecated and succeeded by SignatureMap. */ export interface Transaction { /** * The body of the transaction, which needs to be signed * * @deprecated */ body: TransactionBody | undefined; /** * The signatures on the body, to authorize the transaction; deprecated and to be succeeded by * SignatureMap field * * @deprecated */ sigs: SignatureList | undefined; /** * The signatures on the body with the new format, to authorize the transaction * * @deprecated */ sigMap: SignatureMap | undefined; /** * TransactionBody serialized into bytes, which needs to be signed * * @deprecated */ bodyBytes: Uint8Array; /** SignedTransaction serialized into bytes */ signedTransactionBytes: Uint8Array; } export declare const Transaction: { encode(message: Transaction, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Transaction; fromJSON(object: any): Transaction; toJSON(message: Transaction): unknown; create(base?: DeepPartial): Transaction; fromPartial(object: DeepPartial): Transaction; }; 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=transaction.d.ts.map