import _m0 from "protobufjs/minimal"; import { ResponseCodeEnum } from "./response_code"; export declare const protobufPackage = "proto"; /** * When the client sends the node a transaction of any kind, the node replies with this, which * simply says that the transaction passed the precheck (so the node will submit it to the network) * or it failed (so it won't). If the fee offered was insufficient, this will also contain the * amount of the required fee. To learn the consensus result, the client should later obtain a * receipt (free), or can buy a more detailed record (not free). */ export interface TransactionResponse { /** The response code that indicates the current status of the transaction. */ nodeTransactionPrecheckCode: ResponseCodeEnum; /** * If the response code was INSUFFICIENT_TX_FEE, the actual transaction fee that would be * required to execute the transaction. */ cost: number; } export declare const TransactionResponse: { encode(message: TransactionResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TransactionResponse; fromJSON(object: any): TransactionResponse; toJSON(message: TransactionResponse): unknown; create(base?: DeepPartial): TransactionResponse; fromPartial(object: DeepPartial): TransactionResponse; }; 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_response.d.ts.map