import { type ReactNode } from "react"; import type { AgentTitleParts } from "./platform-activity-presentation.js"; export type AgentRowProps = { icon: ReactNode; title: AgentTitleParts; /** Quiet secondary text shown while collapsed. */ preview?: string | null | undefined; /** Two lines suit inbound messages; spawns and messages use one. */ previewLines?: 1 | 2 | undefined; /** Short trailing note after the title, e.g. "+2 earlier". */ meta?: string | null | undefined; /** The agent session the row deep-links to. */ sessionId?: string | null | undefined; onOpenSession?: ((sessionId: string) => void) | undefined; running?: boolean | undefined; failed?: boolean | undefined; cancelled?: boolean | undefined; /** Expanded body; the row is static when absent. */ children?: ReactNode | undefined; }; export declare function AgentRow({ icon, title, preview, previewLines, meta, sessionId, onOpenSession, running, failed, cancelled, children, }: AgentRowProps): import("react").JSX.Element; /** Plain multi-line text for an expanded agent row. */ export declare function AgentRowText({ children }: { children: string; }): import("react").JSX.Element; /** A labelled section inside an expanded agent row (Brief, Report, Evidence). */ export declare function AgentRowSection({ label, children, muted, }: { label: string; children: string; muted?: boolean | undefined; }): import("react").JSX.Element;