import type { IDataObject, IExecuteFunctions, INodeProperties } from "n8n-workflow"; import type { ChecklistItem, ResourceLocatorValue, TaskBody } from "../../../helpers/types"; export declare const taskUpdateFields: INodeProperties[]; interface SubtaskInput { title?: string; isAllDay?: boolean; completedTime?: string; sortOrder?: number | string; startDate?: string; status?: number; timeZone?: string; } export declare function buildSubtask(sub: SubtaskInput): Partial; interface TaskUpdateFields { isAllDay?: boolean; clearFields?: string[]; completedTime?: string; content?: string; desc?: string; dueDate?: string; items?: { item?: SubtaskInput[]; }; priority?: number; reminders?: string; removeTags?: { tagValues?: Array<{ tag: string | ResourceLocatorValue; }>; }; repeatFlag?: string; sortOrder?: number; startDate?: string; status?: number; tags?: { tagValues?: Array<{ tag: string | ResourceLocatorValue; }>; }; timeZone?: string; title?: string; } export declare function applyClearFields(body: TaskBody, clearFields: string[]): void; export declare function applyTagChanges(body: TaskBody, currentTask: IDataObject, updateFields: TaskUpdateFields, clearFields: string[]): void; export declare function buildTaskBody(currentTask: IDataObject, updateFields: TaskUpdateFields, taskId: string, projectId: string): TaskBody; export declare function taskUpdateExecute(this: IExecuteFunctions, index: number): Promise<{ json: any; }[]>; export {};