/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { ITask } from "@workglow/task-graph"; import React from "react"; /** * A failed row names the task and nothing else, which leaves the operator to * re-run with more logging to learn what went wrong. The reason is already on * the task — show it, bounded, under the row it belongs to. */ export declare function taskErrorText(task: ITask | undefined, status: string): string; export declare function TaskErrorDetail({ task, status, marginLeft, }: { readonly task: ITask | undefined; readonly status: string; readonly marginLeft?: number; }): React.ReactElement | null;