import React from 'react'; import { TeamColor } from '../shared/types'; declare type PredictionEntry = { type: 'Home' | 'Away' | 'Draw'; probability: string; }; declare type PredictionGroup = { type: 'Win'; prediction: PredictionEntry[]; }; declare type Contestant = { id: string; name: string; shortName: string; officialName: string; code: string; position: 'home' | 'away'; country?: { id: string; name: string; }; }; export declare type WinProbabilityFeed = { matchInfo: { id: string; description?: string; contestant: Contestant[]; }; liveData: { matchDetails?: { matchStatus?: string; periodId?: number; }; /** Present when the match has not yet started */ preMatchPredictions?: PredictionGroup[]; /** Present / updated during the live match */ overallLivePredictions?: PredictionGroup[]; }; }; export declare const OptaMatchStatsWinProbability: React.FC<{ /** Pass a pre-fetched feed directly (e.g. for testing / SSR). */ feed?: WinProbabilityFeed; /** Match / fixture ID used to build the API URL. */ match?: string; /** Base URL for the API (without trailing slash). */ apiBaseUrl?: string; /** Override home team colour. */ homeColor?: TeamColor; /** Override away team colour. */ awayColor?: TeamColor; /** When true, enables dark-mode media queries. */ isApp?: boolean; }>; export {};