import type { ElectionSummaryOptions } from "../summary/electionSummary.js"; import type { Actor, Ballot, VoteCandidate } from "../vote.js"; export type CandidateScores = Map; export default abstract class VoteResult { #private; abstract readonly result: CandidateScores; constructor(authorizedVoters: Actor[] | undefined, candidates: VoteCandidate[], subject: string, votes: Ballot[], options: Partial); findWinners(): Generator; get participation(): number; get missingVoices(): Actor["id"][]; generateSummary(privateKey: string, options?: Partial): string; toJSON(): { description: string; outcome: { "winner(s)": string[]; }; votes: { [k: string]: { [k: string]: number; }; }; }; }