/**-----------------------------------------------------------------------------------------
* Copyright © 2026 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`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#rowclass) property.
 *
 * @example
 * ```typescript
 * 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`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#taskclass) property.
 *
 * @example
 * ```typescript
 * 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;
};
