import { ContestContent, ContestSelection, Error } from '../av_client/types'; export default class ContestSelectionValidator { private readonly contest; private readonly voterWeight; constructor({ contest, voterWeight }: { contest: ContestContent; voterWeight: number; }); isComplete(contestSelection: ContestSelection): boolean; validate(contestSelection: ContestSelection): Error[]; private allWeightUsed; }