import { type ConditionsQuery } from '../docs/feed/conditions';
import { ConditionState } from '../docs/feed/types';
import type { Selection } from '../global';
export type MarketOutcome = {
    selectionName: string;
    odds: number;
    gameId: string;
    isExpressForbidden: boolean;
    isWon?: boolean;
} & Selection;
type TMarket<C> = {
    marketKey: string;
    name: string;
    description: string;
    conditions: C;
};
type Condition = {
    conditionId: string;
    state: ConditionState;
    margin: string;
    isExpressForbidden: boolean;
    outcomes: MarketOutcome[];
};
export type Market = TMarket<Condition[]>;
export type GameMarkets = Market[];
export declare const groupConditionsByMarket: (conditions: ConditionsQuery["conditions"]) => GameMarkets;
export {};
