import { SpanRecord } from '@mastra/core/storage';
import { ReactNode } from 'react';
export interface SpanDataPanelViewProps {
    traceId: string;
    spanId: string;
    /** Full span record. Caller fetches via useSpanDetail. */
    span: SpanRecord | undefined;
    isLoading?: boolean;
    onClose: () => void;
    onPrevious?: () => void;
    onNext?: () => void;
    activeTab?: string;
    onTabChange?: (tab: string) => void;
    /**
     * When provided, a "Scoring" tab appears; the slot receives the loaded span and renders
     * whatever scoring UI the consumer wants. When undefined, only the "Details" tab renders.
     */
    scoringTabSlot?: (args: {
        span: SpanRecord;
        traceId: string;
        spanId: string;
    }) => ReactNode;
    /** Optional count shown in the "Scoring" tab label (e.g. number of scores). */
    scoringTabBadge?: ReactNode;
    /**
     * When provided, a "Feedback" tab appears; the slot receives the loaded span and renders
     * whatever feedback UI the consumer wants.
     */
    feedbackTabSlot?: (args: {
        span: SpanRecord;
        traceId: string;
        spanId: string;
    }) => ReactNode;
    /** Optional count shown in the "Feedback" tab label. */
    feedbackTabBadge?: ReactNode;
    /**
     * Whether this span is the displayed root of the current view (trace root or
     * branch anchor). Controls visibility of trace-level metadata fields. Defaults
     * to `span.parentSpanId == null` (trace case) when omitted.
     */
    isAnchor?: boolean;
}
export declare function SpanDataPanelView({ traceId, spanId, span, isLoading, onClose, onPrevious, onNext, activeTab, onTabChange, scoringTabSlot, scoringTabBadge, feedbackTabSlot, feedbackTabBadge, isAnchor, }: SpanDataPanelViewProps): import("react/jsx-runtime").JSX.Element;
