/** * [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/task-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 type TaskStatus = 'completed' | 'uncompleted' | 'skipped' | 'cancelled'; export interface TaskPartTask { id?: string; text: string; status?: TaskStatus; } export interface TaskPartProps { tasks?: TaskPartTask[]; title?: string; currentTaskId?: string; defaultExpanded?: boolean; className?: string; headerIcon?: ReactNode; uncompletedIcon?: ReactNode; completedIcon?: ReactNode; skippedIcon?: ReactNode; loaderIcon?: ReactNode; } export declare function TaskPart({ tasks, title, currentTaskId, defaultExpanded, className, headerIcon, uncompletedIcon, completedIcon, skippedIcon, loaderIcon, }: TaskPartProps): import("react/jsx-runtime").JSX.Element; export declare namespace TaskPart { var displayName: string; } export declare const AgentTaskList: typeof TaskPart; export type AgentTaskListProps = TaskPartProps;