import type { ToolResultView } from "@stigmer/sdk";
/** Props for {@link ResultView}. */
export interface ResultViewProps {
    /** The normalized result view to render. */
    readonly view: ToolResultView;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Renders a {@link ToolResultView} with a type-appropriate treatment.
 *
 * This is the presentation half of the tool-result pipeline: `@stigmer/sdk`'s
 * `normalizeToolResult` turns an opaque result string into a typed view, and
 * this component renders it. Importable on its own by platform builders who
 * compose custom tool UIs.
 */
export declare function ResultView({ view, className }: ResultViewProps): import("react/jsx-runtime").JSX.Element | null;
/**
 * Returns a compact one-line summary fragment for a result view, suitable for a
 * collapsed tool row (e.g. "+40 -0", "exit 1", "2 matches"). Returns null when
 * there is nothing useful to summarize.
 */
export declare function summarizeResultView(view: ToolResultView): string | null;
//# sourceMappingURL=ResultView.d.ts.map