import { Fr } from '@aztec/foundation/curves/bn254'; import { BufferReader } from '@aztec/foundation/serialize'; import { AztecAddress } from '../aztec-address/index.js'; import { PrivateTxConstantData } from '../tx/private_tx_constant_data.js'; import type { UInt64 } from '../types/shared.js'; import { PrivateAccumulatedData } from './private_accumulated_data.js'; import { PrivateValidationRequests } from './private_validation_requests.js'; import { PublicCallRequest } from './public_call_request.js'; /** * Public inputs to the inner private kernel circuit */ export declare class PrivateKernelCircuitPublicInputs { /** * Data which is not modified by the circuits. */ constants: PrivateTxConstantData; /** * The side effect counter that non-revertible side effects are all beneath. */ minRevertibleSideEffectCounter: Fr; /** * Validation requests accumulated from public functions. */ validationRequests: PrivateValidationRequests; /** * Data accumulated from both public and private circuits. */ end: PrivateAccumulatedData; /** * The call request for the public teardown function */ publicTeardownCallRequest: PublicCallRequest; /** * 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; /** * Wether this is a private only tx or not */ isPrivateOnly: boolean; /** * The nullifier that will be used for nonce generation */ claimedFirstNullifier: Fr; /** * A claim to the final min revertible side effect counter of a tx. */ claimedRevertibleCounter: number; constructor( /** * Data which is not modified by the circuits. */ constants: PrivateTxConstantData, /** * The side effect counter that non-revertible side effects are all beneath. */ minRevertibleSideEffectCounter: Fr, /** * Validation requests accumulated from public functions. */ validationRequests: PrivateValidationRequests, /** * Data accumulated from both public and private circuits. */ end: PrivateAccumulatedData, /** * The call request for the public teardown function */ publicTeardownCallRequest: PublicCallRequest, /** * 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, /** * Wether this is a private only tx or not */ isPrivateOnly: boolean, /** * The nullifier that will be used for nonce generation */ claimedFirstNullifier: Fr, /** * A claim to the final min revertible side effect counter of a tx. */ claimedRevertibleCounter: number); static get schema(): import("zod").ZodType; toJSON(): Buffer; 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 PrivateKernelInnerCircuitPublicInputs. */ static fromBuffer(buffer: Buffer | BufferReader): PrivateKernelCircuitPublicInputs; static empty(): PrivateKernelCircuitPublicInputs; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZV9rZXJuZWxfY2lyY3VpdF9wdWJsaWNfaW5wdXRzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMva2VybmVsL3ByaXZhdGVfa2VybmVsX2NpcmN1aXRfcHVibGljX2lucHV0cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsRUFBRSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFFcEQsT0FBTyxFQUFFLFlBQVksRUFBdUMsTUFBTSw2QkFBNkIsQ0FBQztBQUVoRyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDekQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDMUUsT0FBTyxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDakQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDdkUsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDN0UsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFN0Q7O0dBRUc7QUFDSCxxQkFBYSxnQ0FBZ0M7SUFFekM7O09BRUc7SUFDSSxTQUFTLEVBQUUscUJBQXFCO0lBQ3ZDOztPQUVHO0lBQ0ksOEJBQThCLEVBQUUsRUFBRTtJQUN6Qzs7T0FFRztJQUNJLGtCQUFrQixFQUFFLHlCQUF5QjtJQUNwRDs7T0FFRztJQUNJLEdBQUcsRU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