import { type CSSProperties } from "react"; import type { TraceFrame } from "../types.js"; export interface CompactCallSummaryClassNames { /** Outer wrapper. */ root?: string; /** Header strip (status badge + total gas). */ header?: string; /** The success/revert status badge. */ statusBadge?: string; /** The total-gas chip. */ gasTotal?: string; /** Container for the list of call lines. */ list?: string; /** One call line. */ line?: string; /** The type chip on a line. */ typeChip?: string; /** The address text on a line. */ address?: string; /** The function selector chip on a line. */ selector?: string; /** The REVERT badge on a line. */ revertChip?: string; /** The "...N more deeper frames" footer. */ truncationFooter?: string; } export interface CompactCallSummaryProps { /** Root of the trace. */ frame: TraceFrame; /** Hide frames deeper than this (0-based depth). Default: no limit. */ maxDepth?: number; /** Hide the header strip (status + gas total). */ hideHeader?: boolean; /** Click handler invoked with the clicked frame. */ onSelect?: (frame: TraceFrame) => void; /** Per-slot class names. */ classNames?: CompactCallSummaryClassNames; /** Inline style on the root element. */ style?: CSSProperties; /** className on the root element. */ className?: string; } /** * One-line-per-call terse summary of a trace, suitable for embedding in * logs, alerts, or chat messages where vertical space matters. Each line * is indented by 2 spaces per depth level. * * Use `maxDepth` to cap rendering depth on deep traces. The footer * indicates how many frames were elided. */ export declare function CompactCallSummary({ frame, maxDepth, hideHeader, onSelect, classNames, style, className, }: CompactCallSummaryProps): React.JSX.Element; //# sourceMappingURL=CompactCallSummary.d.ts.map