import type { WorkflowExecution } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/api_pb";
/** Props for {@link FailureAnalysisPanel}. */
export interface FailureAnalysisPanelProps {
    /** Raw executions to analyze. Only FAILED executions are considered. */
    readonly executions: readonly WorkflowExecution[];
    /** Called when the user clicks a failed execution link. */
    readonly onExecutionClick?: (executionId: string) => void;
    /** Maximum number of failure groups to show initially. @default 5 */
    readonly initialVisibleGroups?: number;
    /** Additional CSS classes for the root container. */
    readonly className?: string;
}
/**
 * Collapsible panel showing failures grouped by failing task name.
 *
 * Derives failure groups from the provided execution list using
 * {@link deriveFailureAnalysis}. Each group shows the task name,
 * failure count, latest error, and expandable individual failure links.
 *
 * Renders nothing when there are no failures (no empty state).
 *
 * @example
 * ```tsx
 * <FailureAnalysisPanel
 *   executions={allExecutions}
 *   onExecutionClick={(id) => navigate(`/executions/${id}`)}
 * />
 * ```
 */
export declare const FailureAnalysisPanel: import("react").NamedExoticComponent<FailureAnalysisPanelProps>;
//# sourceMappingURL=FailureAnalysisPanel.d.ts.map