import type { Fr } from '@aztec/foundation/curves/bn254'; import { BufferReader } from '@aztec/foundation/serialize'; import type { FieldsOf } from '@aztec/foundation/types'; import { AztecAddress } from '../aztec-address/index.js'; import { Gas } from '../gas/gas.js'; import { TxConstantData } from '../tx/tx_constant_data.js'; import type { UInt64 } from '../types/index.js'; import { PrivateToRollupAccumulatedData } from './private_to_rollup_accumulated_data.js'; /** * Outputs from the public kernel circuits. * All Public kernels use this shape for outputs. */ export declare class PrivateToRollupKernelCircuitPublicInputs { /** * Data which is not modified by the circuits. */ constants: TxConstantData; /** * Data accumulated from both public and private circuits. */ end: PrivateToRollupAccumulatedData; /** * Gas used during this transaction */ gasUsed: Gas; /** * The address of the fee payer for the transaction. */ feePayer: AztecAddress; /** * The timestamp by which the transaction must be included in a block. */ expirationTimestamp: UInt64; constructor( /** * Data which is not modified by the circuits. */ constants: TxConstantData, /** * Data accumulated from both public and private circuits. */ end: PrivateToRollupAccumulatedData, /** * Gas used during this transaction */ gasUsed: Gas, /** * The address of the fee payer for the transaction. */ feePayer: AztecAddress, /** * The timestamp by which the transaction must be included in a block. */ expirationTimestamp: UInt64); getNonEmptyNullifiers(): Fr[]; toBuffer(): Buffer; /** * Deserializes from a buffer or reader, corresponding to a write in cpp. * @param buffer - Buffer or reader to read from. * @returns A new instance of PrivateToRollupKernelCircuitPublicInputs. */ static fromBuffer(buffer: Buffer | BufferReader): PrivateToRollupKernelCircuitPublicInputs; static empty(): PrivateToRollupKernelCircuitPublicInputs; toString(): `0x${string}`; static fromString(str: string): PrivateToRollupKernelCircuitPublicInputs; /** Returns a hex representation for JSON serialization. */ toJSON(): Buffer; static getFields(fields: FieldsOf): readonly [TxConstantData, PrivateToRollupAccumulatedData, Gas, AztecAddress, bigint]; /** Creates an instance from a hex string. */ static get schema(): import("zod").ZodType; toFields(): Fr[]; hash(): Promise; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZV90b19yb2xsdXBfa2VybmV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