/** * [WHO]: Public exports from this file (see implementation below). * [FROM]: See the import block immediately after this header. * [TO]: sparkdesign package consumers; output of CLI `add` when applicable. * [HERE]: registry/chat/plan-part.tsx — Spark Design source; keep aligned with the main library. * * [PROTOCOL]: * 1. Keep this P3 header in sync when the public contract changes. * 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change. * 3. Follow design tokens and explicit type exports. */ import type { ReactNode } from 'react'; export interface PlanPartProps { title?: string; description?: string; content: string; viewText?: string; buildText?: string; builtText?: string; isBuilt?: boolean; isGenerating?: boolean; onView?: () => void; onBuild?: () => void; onDownload?: () => void; defaultExpanded?: boolean; contentMaxHeight?: number; collapsible?: boolean; className?: string; headerIcon?: ReactNode; downloadIcon?: ReactNode; builtIcon?: ReactNode; } export declare function PlanPart({ title, description, content, viewText, buildText, builtText, isBuilt, isGenerating, onView, onBuild, onDownload, defaultExpanded, contentMaxHeight, collapsible, className, headerIcon, downloadIcon, builtIcon, }: PlanPartProps): import("react/jsx-runtime").JSX.Element; export declare namespace PlanPart { var displayName: string; } export declare const AgentPlanCard: typeof PlanPart; export type AgentPlanCardProps = PlanPartProps;