import type { HTMLAttributes, ReactNode } from "react"; import type { TaskStatus } from "../../../types/task.js"; interface TaskHeaderProps extends Omit, "title"> { title: ReactNode; status?: TaskStatus; /** * If provided, a chevron is shown next to the title and clicking it fires this callback. * Used as the "expand task metadata" affordance in the Infra shell. */ onToggle?: () => void; /** Right-side actions (e.g. cancel task, close panel). */ actions?: ReactNode; } /** * TaskHeader — title bar for a task pane. * * Visual: display-md title with chevron + optional status badge with pulse + actions slot. */ declare const TaskHeader: import("react").ForwardRefExoticComponent>; export { TaskHeader };