import { BallotMotion, BallotVote, CorporateBallotDetails } from '../../api/entities/CorporateBallot/types'; import { CorporateBallot, FungibleAsset, Procedure } from '../../internal'; import { CastBallotVoteParams } from '../../types'; import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '../../types/internal'; /** * @hidden */ export type Params = CastBallotVoteParams & { asset: FungibleAsset; ballot: CorporateBallot; }; /** * @hidden */ export interface Storage { asset: FungibleAsset; } /** * @hidden */ export declare function assertBallotIsActive(ballotDetails: CorporateBallotDetails): void; /** * @hidden */ export declare function assertRcvVoting(ballotDetails: CorporateBallotDetails, votes: CastBallotVoteParams['votes']): void; /** * @hidden */ export declare function assertVoteCount(ballotDetails: CorporateBallotDetails, votes: CastBallotVoteParams['votes']): void; /** * @hidden */ export declare function assertMotionVotes(motionVotes: BallotVote[], motion: BallotMotion): void; /** * @hidden */ export declare function prepareCastBallotVote(this: Procedure, args: Params): Promise>>; /** * @hidden */ export declare function getAuthorization(this: Procedure): ProcedureAuthorization; /** * @hidden */ export declare const castBallotVote: () => Procedure; //# sourceMappingURL=castBallotVote.d.ts.map