import { Variable, VariableSummary } from '@mtna/pojo-consumer-ui'; import { TabulationClassification, TabulationDatum } from '@mtna/rds-base-ui'; import { DatumCell } from './datum-cell.model'; export declare class TableDimension { variable: Variable | VariableSummary; /** Datum table cells */ datumCellValues: Array; /** Whether Dimension has a more than one datum. If there is only one, we don't show the subtotal */ hasMultipleDatum?: boolean; /** Unique identifiers for each header cell created with this variable */ headerIds: Array; /** Display value for the variable */ name: string; /** `colspan` or `rowspan` for the name cell */ nameCellSpan: { [headerId: string]: number; }; /** * @param variable Dimension's variable * @param data Variable's unique datum * @param parentDimension Dimension's parent */ constructor(variable: Variable | VariableSummary, data: TabulationDatum[], parentDimension: TableDimension, hasSubtotal: boolean, classifications: { [id: string]: TabulationClassification; }, cellspan?: number); }