declare function stopTask(taskId: string): { success: boolean; message: string; dispatch_id?: undefined; machine?: undefined; task_hash?: undefined; project?: undefined; steps?: undefined; } | { success: boolean; message: string; dispatch_id: string; machine: any; task_hash: any; project: any; steps: string[]; }; declare function stopTaskDryRun(taskId: string): { success: boolean; message: string; dry_run?: undefined; dispatch_id?: undefined; machine?: undefined; task_hash?: undefined; project?: undefined; actions?: undefined; } | { success: boolean; dry_run: boolean; message: string; dispatch_id: string; machine: any; task_hash: any; project: any; actions: string[]; }; export { stopTask, stopTaskDryRun };