import type { Compact, Enum, GenericVote, Struct, u32 } from '@polkadot/types'; import type { AccountId, Balance } from '@polkadot/types/interfaces/runtime'; /** @name ApprovalFlag */ export interface ApprovalFlag extends u32 { } /** @name DefunctVoter */ export interface DefunctVoter extends Struct { readonly who: AccountId; readonly voteCount: Compact; readonly candidateCount: Compact; } /** @name Renouncing */ export interface Renouncing extends Enum { readonly isMember: boolean; readonly isRunnerUp: boolean; readonly isCandidate: boolean; readonly asCandidate: Compact; } /** @name SetIndex */ export interface SetIndex extends u32 { } /** @name Vote */ export interface Vote extends GenericVote { } /** @name VoteIndex */ export interface VoteIndex extends u32 { } /** @name VoterInfo */ export interface VoterInfo extends Struct { readonly lastActive: VoteIndex; readonly lastWin: VoteIndex; readonly pot: Balance; readonly stake: Balance; } /** @name VoteThreshold */ export interface VoteThreshold extends Enum { readonly isSupermajorityapproval: boolean; readonly isSupermajorityrejection: boolean; readonly isSimplemajority: boolean; } export declare type PHANTOM_ELECTIONS = 'elections';