import { ContestMap } from "../types"; /** * @description Generates an encryption commitment * @param messages An array of hex strings * @param options Optional options object. Allows caller to specify randomizer * @returns Commitment point and randomizer, both as hex. */ declare const generatePedersenCommitment: (randomizers: ContestMap, options?: { randomizer: string; }) => { commitment: string; randomizer: string; }; /** * @description Checks if a commitment is valid, given a set of messages and a randomizer * @returns true if commitment passes validity check. Otherwise false. */ declare const isValidPedersenCommitment: (commitment: string, randomizers: ContestMap, randomizer: string) => boolean; export { generatePedersenCommitment, isValidPedersenCommitment, };