import type { SubAgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/subagent_pb";
/** Props for {@link SubAgentSection}. */
export interface SubAgentSectionProps {
    /** The sub-agent execution to render. */
    readonly subAgentExecution: SubAgentExecution;
    /**
     * Whether to render as a collapsible card with expand/collapse
     * toggle. Defaults to `true`.
     *
     * Set to `false` when rendered inside a parent that already
     * provides its own expand/collapse (e.g. {@link ToolCallItem}).
     */
    readonly collapsible?: boolean;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Renders a sub-agent execution as a nested mini-thread inside the
 * parent conversation.
 *
 * When `collapsible` is `true` (default), the component renders as a
 * bordered card with a clickable summary row. Cards start collapsed
 * — the summary row shows status, subject, and duration at a glance.
 * Users click to expand and see the nested messages and tool calls.
 *
 * Visually distinguished from {@link ToolCallGroup} via a left
 * accent border and bot icon, signaling delegated sub-agent work.
 *
 * When `collapsible` is `false`, the component renders flat content
 * without a toggle — suitable for embedding inside a parent that
 * already provides expand/collapse (e.g. {@link ToolCallItem}).
 *
 * Composes {@link MessageEntry} and {@link ToolCallGroup} to display
 * the sub-agent's internal messages and tool calls — the same
 * building blocks used by the top-level {@link MessageThread}.
 *
 * Wrapped in `React.memo` — structural sharing (T04) preserves the
 * `SubAgentExecution` reference when the sub-agent's state is
 * unchanged, so completed sub-agents skip re-renders entirely.
 *
 * @example
 * ```tsx
 * // Standalone collapsible card (default)
 * <SubAgentSection subAgentExecution={sub} />
 *
 * // Flat layout inside a parent expand/collapse
 * <SubAgentSection subAgentExecution={sub} collapsible={false} />
 * ```
 */
export declare const SubAgentSection: import("react").NamedExoticComponent<SubAgentSectionProps>;
//# sourceMappingURL=SubAgentSection.d.ts.map