/**
* Single-column-or-range dimension entry. Mirrors the OOXML `
` element.
* The `min`/`max` pair always covers a contiguous run; the worksheet's
* `columnDimensions` Map keys by `min` so per-column edits stay O(log n).
*/
export interface ColumnDimension {
/** 1-based first column the entry covers (inclusive). */
min: number;
/** 1-based last column the entry covers (inclusive). */
max: number;
/** Width in Excel character units. */
width?: number;
/** Excel records `customWidth=1` whenever the user touched the slider. */
customWidth?: boolean;
/** Hidden columns get `hidden="1"`. */
hidden?: boolean;
/** "Best fit" auto-shrink semantics — Excel sets it for narrow columns. */
bestFit?: boolean;
/** Outline-level for grouping (0 = ungrouped). */
outlineLevel?: number;
/** Default cell xfId applied to empty cells in the column. */
style?: number;
/** Whether the column's outline is collapsed. */
collapsed?: boolean;
}
/** Per-row metadata. Mirrors the OOXML `` element's attributes. */
export interface RowDimension {
/** Row height in points. */
height?: number;
/** Mirrors Excel's `customHeight="1"` flag. */
customHeight?: boolean;
hidden?: boolean;
outlineLevel?: number;
collapsed?: boolean;
/** Default cell xfId applied to empty cells in the row. */
style?: number;
}
/** Build a single-column ColumnDimension entry covering `col`. */
export declare function makeColumnDimension(col: number, opts?: Partial>): ColumnDimension;
export declare function makeRowDimension(opts?: Partial): RowDimension;