/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Observable } from "rxjs";
/**
 * The expected type of result for the treelist excel export [`fetchData function`](slug:api_treelist_excelcomponent#toc-fetchdata).
 */
export interface ExcelExportData {
    /**
     * The root data that should be exported.
     */
    data: any[] | Observable<any[]>;
    /**
     * A function that returns the children for an item.
     */
    fetchChildren: any;
    /**
     * A function that indicates if a particular item has children.
     */
    hasChildren: any;
}
