///
import { CallContext, ContractDeploymentData, FunctionData, GlobalVariables, Header, PrivateCallStackItem, PrivateCircuitPublicInputs, PublicCallRequest } from '@aztec/circuits.js';
import { AztecAddress } from '@aztec/foundation/aztec-address';
import { EthAddress } from '@aztec/foundation/eth-address';
import { Fr } from '@aztec/foundation/fields';
import { ACVMField } from './acvm_types.js';
import { MessageLoadOracleInputs } from './oracle/typed_oracle.js';
/**
* Converts a value to an ACVM field.
* @param value - The value to convert.
* @returns The ACVM field.
*/
export declare function toACVMField(value: AztecAddress | EthAddress | Fr | Buffer | boolean | number | bigint | ACVMField): ACVMField;
/**
* Converts a function data to ACVM fields.
* @param functionData - The function data to convert.
* @returns The ACVM fields.
*/
export declare function toACVMFunctionData(functionData: FunctionData): ACVMField[];
/**
* Converts a call context to ACVM fields.
* @param callContext - The call context to convert.
* @returns The ACVM fields.
*/
export declare function toACVMCallContext(callContext: CallContext): ACVMField[];
/**
* Converts a contract deployment data to ACVM fields.
* @param contractDeploymentData - The contract deployment data to convert.
* @returns The ACVM fields.
*/
export declare function toACVMContractDeploymentData(contractDeploymentData: ContractDeploymentData): ACVMField[];
/**
* Converts a block header into ACVM fields.
* @param header - The block header object to convert.
* @returns The ACVM fields.
*/
export declare function toACVMHeader(header: Header): ACVMField[];
/**
* Converts global variables into ACVM fields
* @param globalVariables - The global variables object to convert.
* @returns The ACVM fields
*/
export declare function toACVMGlobalVariables(globalVariables: GlobalVariables): ACVMField[];
/**
* Converts the public inputs structure to ACVM fields.
* @param publicInputs - The public inputs to convert.
* @returns The ACVM fields.
*/
export declare function toACVMPublicInputs(publicInputs: PrivateCircuitPublicInputs): ACVMField[];
/**
* Converts a private call stack item to ACVM fields.
* @param item - The private call stack item to convert.
* @returns The ACVM fields.
*/
export declare function toAcvmCallPrivateStackItem(item: PrivateCallStackItem): ACVMField[];
/**
* Converts a public call stack item with the request for executing a public function to
* a set of ACVM fields accepted by the enqueue_public_function_call_oracle Aztec.nr function.
* Note that only the fields related to the request are serialized: those related to the result
* are empty since this is just an execution request, so we don't send them to the circuit.
* @param item - The public call stack item to serialize to be passed onto Noir.
* @returns The fields expected by the enqueue_public_function_call_oracle Aztec.nr function.
*/
export declare function toAcvmEnqueuePublicFunctionResult(item: PublicCallRequest): ACVMField[];
/**
* Converts the result of loading messages to ACVM fields.
* @param messageLoadOracleInputs - The result of loading messages to convert.
* @returns The Message Oracle Fields.
*/
export declare function toAcvmL1ToL2MessageLoadOracleInputs(messageLoadOracleInputs: MessageLoadOracleInputs): ACVMField[];
/**
* Inserts a list of ACVM fields to a witness.
* @param witnessStartIndex - The index where to start inserting the fields.
* @param fields - The fields to insert.
* @returns The witness.
*/
export declare function toACVMWitness(witnessStartIndex: number, fields: Parameters[0][]): Map;
//# sourceMappingURL=serialize.d.ts.map