function calcVotesimport { calcVotes } from "https://deno.land/x/polkadot@0.2.45/api-derive/democracy/util.ts"; calcVotes(sqrtElectorate: BN,referendum: DeriveReferendum,votes: DeriveReferendumVote[],): DeriveReferendumVotesParameterssqrtElectorate: BNreferendum: DeriveReferendumvotes: DeriveReferendumVote[]ReturnsDeriveReferendumVotes