import { Fr } from '@aztec/foundation/curves/bn254'; import { BufferReader } from '@aztec/foundation/serialize'; import { ProtocolContracts } from '../tx/protocol_contracts.js'; import { TxRequest } from '../tx/tx_request.js'; import { PrivateCallData } from './private_call_data.js'; /** * Input to the private kernel circuit - initial call. */ export declare class PrivateKernelInitCircuitPrivateInputs { /** * The transaction request which led to the creation of these inputs. */ txRequest: TxRequest; /** * The root of the vk tree. */ vkTreeRoot: Fr; /** * The protocol contracts. */ protocolContracts: ProtocolContracts; /** * Private calldata corresponding to this iteration of the kernel. */ privateCall: PrivateCallData; /** * Wether this tx will make public calls or not. */ isPrivateOnly: boolean; /** * A hint to what will be the first nullifier of the transaction, used for nonce generation. */ firstNullifierHint: Fr; /** * A claim to the final min revertible side effect counter of a tx. */ revertibleCounterHint: number; constructor( /** * The transaction request which led to the creation of these inputs. */ txRequest: TxRequest, /** * The root of the vk tree. */ vkTreeRoot: Fr, /** * The protocol contracts. */ protocolContracts: ProtocolContracts, /** * Private calldata corresponding to this iteration of the kernel. */ privateCall: PrivateCallData, /** * Wether this tx will make public calls or not. */ isPrivateOnly: boolean, /** * A hint to what will be the first nullifier of the transaction, used for nonce generation. */ firstNullifierHint: Fr, /** * A claim to the final min revertible side effect counter of a tx. */ revertibleCounterHint: number); /** * Serialize this as a buffer. * @returns The buffer. */ toBuffer(): Buffer; /** * Deserializes from a buffer or reader. * @param buffer - Buffer or reader to read from. * @returns The deserialized instance. */ static fromBuffer(buffer: Buffer | BufferReader): PrivateKernelInitCircuitPrivateInputs; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZV9rZXJuZWxfaW5pdF9jaXJjdWl0X3ByaXZhdGVfaW5wdXRzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMva2VybmVsL3ByaXZhdGVfa2VybmVsX2luaXRfY2lyY3VpdF9wcml2YXRlX2lucHV0cy50cyJdLCJuYW1lcyI6W10sIm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