import type { VoteOptionSource } from "../event.enums"; import type { EventFeatureBaseConfig } from "./feature.base"; import type { EventRewardItemConfig } from "./reward"; declare const featureType: "vote"; export interface FeatureVoteOption { /** 选项标识 */ sn: string; /** 选项名称 */ name: string; /** 选项图片地址 */ img_urls?: string[]; /** 选项视频地址 */ video_urls?: string[]; /** 选项描述文本 */ descriptions?: string[]; /** 跳转地址 */ jump_url: string; /** 选项投票数量 */ amount: number; /** 选项是否入围 */ finalists: boolean; /** 最后投票时间秒级时间戳 */ last_vote_time: number; } export interface FeatureVoteConfig { /** 关联一个或多个投票玩法 ID */ vote_feature_ids: number[]; /** 关联一个或多个投稿玩法 ID */ submission_feature_ids: number[]; /** 入围数量 */ finalists_amount: number; /** 选项来源 */ source: VoteOptionSource; /** 投票选项配置 */ options: FeatureVoteOption[]; /** 投票入围后用户可获得的奖励 */ rewards: EventRewardItemConfig[]; } export type EventFeatureConfigOfVote = EventFeatureBaseConfig & { feature_type: typeof featureType; config: FeatureVoteConfig; }; export declare const EventFeatureConfigOfVoteValidator: import("@seayoo-web/validator").ObjectValidator; export {};