/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
 * @hidden
 *
 * Represents the item interface used by the treelist to map all rendered items.
 */
export interface ViewItem {
    /**
     * The original data item held by this entry.
     */
    data: any;
    /**
     * The id field value of the current data item.
     */
    id: any;
    /**
     * The item index as rendered in the TreeList.
     */
    rowIndex: number;
    /**
     * The hierarchical level of the current data item.
     */
    level: number;
    /**
     * Species whether the current data item has children.
     */
    hasChildren: boolean;
    /**
     * The ViewItem of the current data item parent.
     */
    parent: ViewItem;
}
