/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
 * Represents the callback that is used by the
 * [rowClass]({% slug api_gantt_ganttcomponent %}#toc-rowclass) property.
 *
 * ```ts-no-run
 *  public rowCallback({ dataItem, index }: any): any {
 *    const isEven = index % 2 == 0;
 *    return {
 *      even: isEven,
 *      odd: !isEven
 *    };
 *  }
 * ```
 *
 */
export type RowClassFn = (args: {
    dataItem: any;
    index: number;
}) => string | string[] | Set<string> | {
    [key: string]: any;
};
/**
 * Represents the callback that is used by the
 * [taskClass]({% slug api_gantt_ganttcomponent %}#toc-taskclass) property.
 *
 * ```ts-no-run
 *  public taskCallback(dataItem: any): any {
 *    const moreThanHalfCompleted = dataItem.completionRatio > 0.5;
 *    return {
 *      'more-than-half': moreThanHalfCompleted,
 *      'less-than-half': !moreThanHalfCompleted
 *    };
 *  }
 * ```
 *
 */
export type TaskClassFn = (dataItem: any) => string | string[] | Set<string> | {
    [key: string]: any;
};
