export interface PendingSourceCardProps { /** Source display name (`details.name`). */ name: string; /** Human-readable source type label, e.g. "PostgreSQL". */ typeLabel: string; /** Resume the add-source wizard for this in-progress source. */ onResume: () => void; /** Drop this source from the saved draft and from the stored pipeline config. */ onDiscard: () => void; /** * Discard is in flight. Discarding hits the server (draft + pipeline config), * so the card reports progress and locks its menu until it settles. */ isDiscarding?: boolean; }