import { ReactNode } from 'react';
import { LatencyPoint } from '../hooks/use-latency-metrics';
export type LatencyTab = 'agents' | 'workflows' | 'tools';
export interface LatencyCardViewProps {
    data: {
        agentData: LatencyPoint[];
        workflowData: LatencyPoint[];
        toolData: LatencyPoint[];
    } | undefined;
    isLoading: boolean;
    isError: boolean;
    /** Optional drilldown: invoked when a chart node is clicked. Container provides the navigation. */
    onPointClick?: (tab: LatencyTab, point: LatencyPoint) => void;
    /**
     * Optional slot for top-bar action buttons (e.g. "View in Traces").
     * Pass a function to receive the active tab so the action can scope itself to the current entity type.
     */
    actions?: ReactNode | ((tab: LatencyTab) => ReactNode);
}
export declare function LatencyCardView({ data, isLoading, isError, onPointClick, actions }: LatencyCardViewProps): import("react/jsx-runtime").JSX.Element;
