import { Gas } from './gas.js'; export interface GasUsed { /** * Total gas used across both private and public executions. * Note that this does not determine the transaction fee. The fee is calculated with billedGas, which uses `teardownGasLimits` from * `GasSettings`, rather than actual teardown gas. */ totalGas: Gas; /** Total gas used during public execution, including actual teardown gas */ publicGas: Gas; /** * The actual gas used in the teardown phase. */ teardownGas: Gas; /** * The gas billed for the transaction. This uses teardown gas limit instead of actual teardown gas. */ billedGas: Gas; } /** * Creates a GasUsed from a plain object without Zod validation. * This method is optimized for performance and skips validation, making it suitable * for deserializing trusted data (e.g., from C++ via MessagePack). * @param obj - Plain object containing GasUsed fields * @returns A GasUsed object */ export declare function gasUsedFromPlainObject(obj: any): GasUsed; export declare const GasUsed: { fromPlainObject: typeof gasUsedFromPlainObject; }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FzX3VzZWQuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9nYXMvZ2FzX3VzZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUUvQixNQUFNLFdBQVcsT0FBTztJQUN0Qjs7OztPQUlHO0lBQ0gsUUFBUSxFQUFFLEdBQUcsQ0FBQztJQUVkLDRFQUE0RTtJQUM1RSxTQUFTLEVBQUUsR0FBRyxDQUFDO0lBRWY7O09BRUc7SUFDSCxXQUFXLEVBQUUsR0FBRyxDQUFDO0lBRWpCOztPQUVHO0lBQ0gsU0FBUyxFQUFFLEdBQUcsQ0FBQztDQUNoQjtBQUVEOzs7Ozs7R0FNRztBQUNILHdCQUFnQixzQkFBc0IsQ0FBQyxHQUFHLEVBQUUsR0FBRyxHQUFHLE9BQU8sQ0FPeEQ7QUFHRCxlQUFPLE1BQU0sT0FBTzs7Q0FFbkIsQ0FBQyJ9