import React, { FC } from 'react'; import { ProjectionEntrylike } from '../../util/ontology'; import { ontology } from '../../util'; export declare const PLAYGROUND_CLASSNAMES: string[]; export declare const PLAYGROUND_STYLE: React.CSSProperties; export declare const pythagoreanWin: (home_team_score: number, away_team_score: number) => [number, number]; export declare const makeGetMockProjection: ({ mockProjections, setMockProjections, getMockProjection }: { mockProjections: { [key: string]: { [key: string]: ProjectionEntrylike; }; }; setMockProjections: (v: { [key: string]: { [key: string]: ProjectionEntrylike; }; }) => void; getMockProjection: (args: { home_team_id: string; away_team_id: string; neutral: boolean; }) => ProjectionEntrylike | undefined; }) => (args: { topTeamId: string; bottomTeamId: string; }) => ProjectionEntrylike | undefined; export declare const makeGetProbability: ({ getMockProjection, bracket, }: { getMockProjection: (args: { topTeamId: string; bottomTeamId: string; }) => ProjectionEntrylike | undefined; bracket: ontology.SparseBracketlike; }) => (pos: { rowNo: number; colNo: number; }) => { topProbability?: number; bottomProbability?: number; }; export declare const makeGetBracketGameView: ({ bracket, getTeam, getProbability, getMockProjection, seeds }: { bracket: ontology.SparseBracketlike; getTeam: (id: string) => ontology.Teamlike | undefined; getProbability: (pos: { rowNo: number; colNo: number; }) => { topProbability?: number; bottomProbability?: number; }; getMockProjection: (args: { topTeamId: string; bottomTeamId: string; }) => ProjectionEntrylike | undefined; seeds: { [key: string]: number; }; }) => (pos: { rowNo: number; colNo: number; }) => ontology.BracketGameViewlike | undefined; export declare const makeSetBracketWinner: ({ bracket, setBracket }: { bracket: ontology.SparseBracketlike; setBracket: (b: ontology.SparseBracketlike) => void; }) => (args: { pos: { rowNo: number; colNo: number; }; id: string; }) => Promise; export declare type BracketPageProps = { children?: React.ReactNode; style?: React.CSSProperties; overrideStyle?: boolean; classNames?: string[]; overrideClasses?: boolean; responsive?: boolean; }; export declare const BracketPage: FC;