import { Legend, LegendItem } from '../../model/models/legend.models'; import { ViewAggregation } from '../../view/models/aggregation.models'; /** * The output of `computeLegendAndViewAggregation` (step 1 of colouring). * Contains everything needed to colour individual fact sheets in step 2 (`applyViewToItem`): * the legend lookup map, display-ready legend items, and the resolved aggregation strategy. */ export interface ViewRequirements { legend: Legend | null; legendItems: LegendItem[]; viewAggregation: ViewAggregation | undefined; }