import { DataCells, DataColumn, DataRow } from '../../../types/data-structures';
/**
 * @interface GroupRowProps
 * @description Defines the props for a single group row in a data table. A group row can contain data rows or be nested with other group rows.
 */
export interface GroupRowProps {
    /**
     * The display label for the group row.
     */
    label: string;
    /**
     * The data rows that belong to this group. This is typically present on the last level of grouping.
     */
    rows?: DataRow[];
    /**
     * An optional callback function to be executed when the group row is clicked, usually to toggle its expansion state.
     */
    onClick?: () => void;
    /**
     * Determines if the group row is currently expanded to show its children or data rows.
     */
    isExpanded?: boolean;
    /**
     * The nesting level of the group, where `0` is the top-most level.
     */
    level?: number;
    /**
     * The top offset for absolute positioning of the row within the component.
     */
    offsetTop?: number;
    /**
     * The height of the row, used for positioning calculations.
     */
    rowHeight?: number;
    /**
     * The cells to display in the group row, typically used for showing subtotal values.
     */
    cells?: DataCells;
    /**
     * The columns of the datatable
     */
    columns?: DataColumn[];
    /**
     * A record of columns string:number where each columns has relative dimension
     */
    columnWidths?: Record<string, number>;
}
//# sourceMappingURL=group-row-types.d.ts.map