/** * WheelLottery - 大转盘抽奖组件 * * 用于营销活动的交互式抽奖转盘,支持多品牌主题和响应式布局。 * * @module WheelLottery * @date 2025-12-17 */ import type { WheelLotteryProps, WheelLotteryHandle } from './types.js'; /** * WheelLottery 组件 * * @example * ```tsx * // 基础使用 * alert(`You won ${prize.name}`)} * /> * * // 使用 ref 控制弹窗 * const lotteryRef = useRef(null) * * * * // 外部触发弹窗 * lotteryRef.current?.showError({ * title: 'Error', * message: 'Something went wrong' * }) * ``` */ export declare const WheelLottery: import("react").ForwardRefExoticComponent>; declare const _default: any; export default _default; export { WinnerModal } from '../LotteryShared/WinnerModal.js'; export { RulesModal } from '../LotteryShared/RulesModal.js'; export { MyRewardsModal } from '../LotteryShared/MyRewardsModal.js'; export { ErrorModal } from '../LotteryShared/ErrorModal.js'; export { ShareModal } from '../LotteryShared/ShareModal.js'; export { BaseModal } from '../LotteryShared/BaseModal.js'; export type { WheelLotteryProps, WheelLotteryHandle, Prize, ChanceMethod, ChanceMethodStatus, WinningInfo, WheelProps, PrizePoolProps, ChanceMethodsProps, WinnerModalProps, WinnerModalConfig, UserData, ShareModalConfig, SocialPlatform, SharePlatformConfig, } from './types.js'; export type { RulesModalProps, RuleItem } from '../LotteryShared/RulesModal.js'; export type { MyRewardsModalProps, Reward, RewardStatus } from '../LotteryShared/MyRewardsModal.js'; export type { ErrorModalProps } from '../LotteryShared/ErrorModal.js'; export type { ShareModalProps } from '../LotteryShared/ShareModal.js'; export type { BaseModalProps } from '../LotteryShared/BaseModal.js';