/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Represents a template that defines the whole content of the task component.
 * To define the template, nest an `<ng-template>` tag
 * with the `kendoGanttTaskTemplate` directive inside the `<kendo-gantt>` tag.
 *
 * The template context is set to the current data item. The following additional field is passed:
 * - `elementWidth`&mdash;The current task wrapper element's calculated width in pixels based on its start and end date.
 * Use it as an alias for a template variable by utilizing the `let-elementWidth="elementWidth"` syntax.
 * Useful for calculations related to rendering custom elements representing the task progress.
 *
 * @example
 * ```ts-preview
 * _@Component({
 *    selector: 'my-app',
 *    template: `
 *        <kendo-gantt [kendoGanttHierarchyBinding]="data">
 *            <ng-template kendoGanttTaskTemplate let-dataItem let-elementWidth="elementWidth">
 *                {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete
 *            </ng-template>
 *        </kendo-gantt>
 *    `
 * })
 * class AppComponent {
 *    public data: any[] = sampleTasks;
 * }
 * ```
 */
export declare class GanttTaskTemplateDirective {
    templateRef: TemplateRef<any>;
    constructor(templateRef: TemplateRef<any>);
    static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskTemplateDirective, [{ optional: true; }]>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<GanttTaskTemplateDirective, "[kendoGanttTaskTemplate]", never, {}, {}, never, never, true, never>;
}
