/** Sparse worksheet row properties (`CT_Row/@ht` and `@customHeight`). * * Citations: ECMA-376-1 ยง18.3.1.73 `row`; transitional sml.xsd `CT_Row`. * Public authoring uses {@link import('../workbook/worksheet').Worksheet.setRowHeight} / * {@link import('../workbook/worksheet').Worksheet.getRowHeight} only. * Enumeration of explicit row records is internal. * * @private */ /** * Snapshot of one explicit row property record. * @private */ export interface RowProperties { /** 1-based worksheet row index. */ readonly index: number; /** Explicit row height in points, when present. */ readonly height: number | undefined; /** Whether `customHeight` was explicitly authored. */ readonly customHeight: boolean; } /** * Sparse collection of explicit row property records. * @private */ export interface Rows { /** Number of explicit row records with public height/customHeight. */ readonly count: number; /** Snapshot of explicit row records in author order. */ list(): ReadonlyArray; } /** @private */ export interface RowEntry { readonly index: number; readonly height: number | undefined; readonly customHeight: boolean | undefined; readonly extraAttrsXml: string; } /** @private */ export interface RowsModel { readonly entries: ReadonlyArray; } /** @private */ export interface RowsHost { markDirty(): void; } /** @private */ export declare class RowsImpl implements Rows { private readonly entries; private host; constructor(initial?: ReadonlyArray); bindHost(host: RowsHost): void; readonly count: number; list(): ReadonlyArray; replaceFromParse(model: RowsModel | undefined): void; toModel(): RowsModel; getRowHeight(index: number): number; setRowHeight(index: number, height: number): void; } /** * Parse `CT_Row` attributes into a sparse row entry. * * Product rule: `hidden="1"` (xsd true) is modeled as height `0` so hide/show * is expressed only through {@link RowsImpl.setRowHeight} / {@link RowsImpl.getRowHeight}. * `hidden` is consumed here and not kept in `extraAttrsXml`. * * @private */ export declare function parseRowEntry(index: number, attrs: Map): RowEntry;