import { GrumpkinPrivateKey } from '@aztec/circuits.js'; import { Grumpkin } from '@aztec/circuits.js/barretenberg'; import { Fr } from '@aztec/foundation/fields'; /** * A point in the format that Aztec.nr uses. */ export type NoirPoint = { /** The x coordinate. */ x: bigint; /** The y coordinate. */ y: bigint; }; /** * Computes the resulting storage slot for an entry in a mapping. * @param mappingSlot - The slot of the mapping within state. * @param owner - The key of the mapping. * @returns The slot in the contract storage where the value is stored. */ export declare function computeSlotForMapping(mappingSlot: Fr, owner: NoirPoint | Fr): Fr; /** * Computes the public key for a private key. * @param privateKey - The private key. * @param grumpkin - The grumpkin instance. * @returns The public key. */ export declare function toPublicKey(privateKey: GrumpkinPrivateKey, grumpkin: Grumpkin): NoirPoint; //# sourceMappingURL=utils.d.ts.map