/// import { PrivateCircuitPublicInputs, PublicCircuitPublicInputs } from '@aztec/circuits.js'; import { Fr } from '@aztec/foundation/fields'; import { ACVMField, ACVMWitness } from './acvm_types.js'; /** * Converts an ACVM field to a Fr. * @param field - The ACVM field to convert. * @returns The Fr. */ export declare function fromACVMField(field: ACVMField): Fr; /** * Converts a field to a number. * @param fr - The field to convert. * @returns The number. */ export declare function frToNumber(fr: Fr): number; /** * Extracts the return fields of a given partial witness. * @param acir - The bytecode of the function. * @param partialWitness - The witness to extract from. * @returns The return values. */ export declare function extractReturnWitness(acir: Buffer, partialWitness: ACVMWitness): Fr[]; /** * Extracts the public inputs from the ACVM generated partial witness. * @param partialWitness - The partial witness. * @param acir - The ACIR bytecode. * @returns The public inputs. */ export declare function extractPrivateCircuitPublicInputs(partialWitness: ACVMWitness, acir: Buffer): PrivateCircuitPublicInputs; /** * Extracts the public circuit public inputs from the ACVM generated partial witness. * @param partialWitness - The partial witness. * @param acir - The ACIR bytecode. * @returns The public inputs. */ export declare function extractPublicCircuitPublicInputs(partialWitness: ACVMWitness, acir: Buffer): PublicCircuitPublicInputs; //# sourceMappingURL=deserialize.d.ts.map