import { type MarketOrderbookData, type VenueMarket, type VenueMarketOutcome } from "@agg-build/hooks";
import type { OrderbookRowData } from "../orderbook";
export type EligibleVenueOutcome = {
    venue: VenueMarket["venue"];
    market: VenueMarket;
    outcome: VenueMarketOutcome;
    outcomeId: string;
    semanticLabel: string;
};
export type AggregatedOrderbookRows = {
    askRows: OrderbookRowData[];
    bidRows: OrderbookRowData[];
    midpoint: number | null;
    spread: number | null;
    hasNoOrderBook: boolean;
    includedOutcomeIds: string[];
    missingOutcomeIds: string[];
};
export declare const collectEligibleVenueOutcomes: ({ venueMarkets, selectedOutcomeLabel, }: {
    venueMarkets: VenueMarket[];
    selectedOutcomeLabel: string | null | undefined;
}) => EligibleVenueOutcome[];
export declare const collectEligibleVenueOutcomeIds: ({ venueMarkets, selectedOutcomeLabel, }: {
    venueMarkets: VenueMarket[];
    selectedOutcomeLabel: string | null | undefined;
}) => string[];
export declare const mergeVenueOutcomeOrderbooks: ({ eligibleOutcomes, orderbooksByOutcomeId, }: {
    eligibleOutcomes: EligibleVenueOutcome[];
    orderbooksByOutcomeId: Record<string, MarketOrderbookData | null | undefined>;
}) => AggregatedOrderbookRows;
