import { PrivateService } from '@makerdao/services-core'; import BigNumber from 'bignumber.js'; export default class GovPollingService extends PrivateService { polls: any; constructor(name?: string); createPoll(startDate: any, endDate: any, multiHash: any, url: any, { promise }: { promise: any; }): Promise; withdrawPoll(pollId: any): any; vote(pollIds: any, options: any): any; voteRankedChoice(pollId: any, rankings: any): any; voteLegacy(pollId: any, optionId: any): any; voteRankedChoiceLegacy(pollId: any, rankings: any): any; _pollingContract(): any; _batchPollingContract(): any; getPoll(multiHash: any): Promise; _getPoll(pollId: any): Promise; getAllWhitelistedPolls(): Promise; refresh(): void; getOptionVotingFor(address: any, pollId: any): Promise; getOptionVotingForRankedChoice(address: any, pollId: any): Promise; getAllOptionsVotingFor(address: any): Promise; getAllOptionsVotingForMany(addresses: any): Promise; getNumUniqueVoters(pollId: any): Promise; getMkrWeight(address: any): Promise; getMkrWeightFromChain(address: any): Promise<{ mkrBalance: any; chiefBalance: any; linkedMkrBalance: any; linkedChiefBalance: any; proxyChiefBalance: any; total: any; }>; getMkrAmtVoted(pollId: any): Promise; getMkrAmtVotedRankedChoice(pollId: any): Promise; getMkrAmtVotedByAddress(pollId: any): Promise; getTallyPlurality(pollId: any): Promise<{ winner: string; totalMkrParticipation: BigNumber; numVoters: any; options: {}; }>; getTallyRankedChoiceIrv(pollId: any): Promise<{}>; runoff(votes: any): { rounds: number; winner: any; totalMkrParticipation: any; options: {}; numVoters: any; }; getPercentageMkrVoted(pollId: any): Promise; getPercentageMkrVotedRankedChoice(pollId: any): Promise; getWinningProposal(pollId: any): Promise; getVoteLogs(fromBlock?: number, toBlock?: string): Promise; getCompletedPolls(address: any): Promise; _decodeRankedChoiceOptions(options: any): any[]; }