import { Fr } from '@aztec/foundation/curves/bn254'; import { BufferReader, FieldReader } from '@aztec/foundation/serialize'; import { CallContext } from '../tx/call_context.js'; export declare class PrivateCallRequest { /** * The call context of the call. */ callContext: CallContext; /** * The hash of the arguments of the call. */ argsHash: Fr; /** * The hash of the return values of the call. */ returnsHash: Fr; /** * The start counter of the call. */ startSideEffectCounter: number; /** * The end counter of the call. */ endSideEffectCounter: number; constructor( /** * The call context of the call. */ callContext: CallContext, /** * The hash of the arguments of the call. */ argsHash: Fr, /** * The hash of the return values of the call. */ returnsHash: Fr, /** * The start counter of the call. */ startSideEffectCounter: number, /** * The end counter of the call. */ endSideEffectCounter: number); toFields(): Fr[]; static fromFields(fields: Fr[] | FieldReader): PrivateCallRequest; toBuffer(): Buffer; static fromBuffer(buffer: Buffer | BufferReader): PrivateCallRequest; isEmpty(): boolean; static empty(): PrivateCallRequest; equals(callRequest: PrivateCallRequest): boolean; toString(): string; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZV9jYWxsX3JlcXVlc3QuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9rZXJuZWwvcHJpdmF0ZV9jYWxsX3JlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BELE9BQU8sRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUF3QyxNQUFNLDZCQUE2QixDQUFDO0FBRTlHLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUVwRCxxQkFBYSxrQkFBa0I7SUFFM0I7O09BRUc7SUFDSSxXQUFXLEVBQUUsV0FBVztJQUMvQjs7T0FFRztJQUNJLFFBQVEsRUFBRSxFQUFFO0lBQ25COztPQUVHO0lBQ0ksV0FBVyxFQUFFLEVBQUU7SUF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