export type PlanStepStatus = 'pending' | 'active' | 'done' | 'failed'; export type PlanState = 'proposed' | 'executing' | 'completed' | 'abandoned'; export interface PlanStep { index: number; label: string; status: PlanStepStatus; } export interface PlanCardData { planId: string; steps: PlanStep[]; state: PlanState; } export declare function parsePlan(json: string): PlanCardData | null; export declare function usePlanUpdates(): PlanCardData | null;