export declare function getArtifact(toolName: string, link: string): Promise; export declare const task_assignee_prompt = "\nYou will be provided with three inputs:\n1. **Event Log** \u2013 Confirmations regarding task completion, cancellation, or redundancy.\n2. **Latest Plan** \u2013 containing the table with all the task action.\n3. **Previous Task List** \u2013 Structured task objects:\n - id, task, status, dependency, taskDate, isUpdated, updates, assignee\n---\n\n**Assignee Role** \u2013 Enum for assigning task roles:\nEnum: [TM, TS, TA, MM, MS]\nWhere:\n - TM = Technical Manager\n - TS = Technical Superintendent\n - TA = Technical Assistant\n - MM = Marine Manager\n - MS = Marine Superintendent\n\n\n---\n\n### \u2705 Handling New Tasks:\n\nOnly include tasks explicitly in Planned Actions if they're:\n- Completely new and distinct from previous tasks.\n- Not minor rewordings or rearrangements.\n\nFor each valid new task:\n- Assign a unique numeric ID (e.g., \"1\", \"2\", etc.) distinct from existing IDs.\n- status: \"pending\"\n- Merge subtasks directly into the main description.\n- Set dependency only if explicitly required.\n- Assign assignee using provided enum.\n- Remove all person names from descriptions.\n\n---\n\n### \uD83D\uDD01 Handling Existing Tasks:\n\n**ONLY tasks explicitly listed under Planned Actions should be considered for updates.**\n\nTasks previously listed but **now omitted from Planned Actions** must be explicitly marked as **completed** (redundant), unless the Event Log explicitly states otherwise.\n\n#### a. **No Update Scenario:**\n- Tasks explicitly listed again without meaningful changes must be excluded.\n\n#### b. **Updated Task Scenario:**\nInclude and update tasks explicitly listed again ONLY if:\n- Task description meaningfully changed.\n- TaskDate meaningfully changed.\n- TaskDate has passed; reschedule appropriately considering dependencies.\n\nUpdated tasks must:\n- Retain original ID.\n- status: \"pending\"\n- isUpdated: true\n- Update ONLY materially changed fields (task, taskDate, dependency).\n- Clearly document changes in 'task_update_tracker'. ONLY track changes in task description or taskDate.\n\nValid example:\n\"Task description updated with inspection details. TaskDate changed from 2025-07-03 09:00 to 2025-07-05 11:00.\"\n\n#### c. **Completed/Cancelled/Redundant Tasks:**\nInclude previously existing tasks only if:\n- Explicitly confirmed completed in Event Log.\n- Explicitly cancelled.\n- No longer explicitly listed under Planned Actions (redundant).\n\nFor these tasks:\n- status: \"completed\"\n- isUpdated: true\n- Clearly state reason in 'task_update_tracker':\n - \"Task marked completed based on Event Log confirmation.\"\n - \"Task cancelled per latest Plan.\"\n - \"Task marked completed as redundant; no longer listed in Planned Actions.\"\n\n---\n\n### \u26A0\uFE0F Important:\n- Ignore any changes involving only removal of personal names or cosmetic wording.\n- NEVER include a task solely due to changes in the assignee name.\n\n---\n\n### \uD83D\uDCE6 Final Output Format:\n\nOnly include tasks qualifying as new or updated:\n\n**IMPORTANT: All fields must be provided. Use empty values for optional fields:**\n- dependency: Use [] (empty array) if no dependencies\n- isUpdated: Use false for new tasks, true for updated tasks\n- task_update_tracker: Use \"\" (empty string) if no updates to track\n\n{\n \"task_list\": [\n {\n \"id\": \"\",\n \"task\": \"\",\n \"status\": \"\",\n \"dependency\": [\"\", ...],\n \"taskDate\": \"YYYY-MM-DD HH:MM\",\n \"isUpdated\": true,\n \"task_update_tracker\": \"\",\n \"assignee\": \"\"\n },\n {\n \"id\": \"\",\n \"task\": \"\",\n \"status\": \"pending\",\n \"dependency\": [],\n \"taskDate\": \"YYYY-MM-DD HH:MM\",\n \"isUpdated\": false,\n \"task_update_tracker\": \"\",\n \"assignee\": \"\"\n }\n ]\n}\n\nIf no tasks qualify, return:\n\n{\n \"task_list\": []\n}\n"; import { MongoClient, ObjectId } from "mongodb"; interface Task { casefileId: ObjectId; casefile_url?: string; casefile?: string; vesselName?: string; imo?: number; createdAt: Date; taskDate: Date | string; task: string; task_update_tracker?: string; dependency?: any[]; } export declare function update_casefile_task_remainder(casefile_id: ObjectId, task_list_pending: Record, task_list_completed: Record, imo: number, mongoClient?: MongoClient): Promise<{ status: string; message: string; }>; export declare function update_tasklist(arguments_: { casefile_id: string; task_assigned: any[]; mongoClient?: MongoClient; workflowLogger?: any; }): Promise<{ status: string; message: string; }>; export declare function update_tasklist_llm_call(latestPlan: any, task_assigned: any[], sampling?: boolean, workflowLogger?: any): Promise; export declare function task_list_update_workflow(casefile_id: string, sampling?: boolean): Promise<{ status: string; message: string; }>; export {};