export interface WheelSegment { id: number; reward_title: string; reward_description: string; reward_type: 'real' | 'boost' | 'try-again'; reward_value: number | null; color: string; } export interface SpinToWinConfig { copy: { headline: string; subcopy: string; spinningHeadline: string; spinningSubcopy: string; }; } export type ThemeName = 'totalgym' | 'womantoday' | 'afristream' | 'vodacom' | 'efc' | 'streetreel'; export interface WheelTheme { colors: { heading: string; button: string; text: { primary: string; secondary: string; segment: string; disclaimer: string; }; }; fonts: { text: string; ui: string; secondary: string; segmentFontSize: string; }; indicatorAsset: string; borderAsset: string; wheelPortionsAsset: string; backgroundAsset?: { desktop: string; mobile: string; }; } export interface SpinningWheelProps { config?: SpinToWinConfig; onResult?: (segment: WheelSegment) => void; onError?: (error: Error) => void; canSpin?: boolean; alreadySpunToday?: boolean; theme?: ThemeName; userId: number; websiteId: string; apiBaseUrl?: string; } //# sourceMappingURL=types.d.ts.map