import { FC } from 'react'; import { AssistantAttachment } from '../../attachments'; interface Props { attachments: AssistantAttachment[]; onRemove: (id: string) => void; /** Re-upload a failed attachment from the bytes already prepared. */ onRetry: (id: string) => void; disabled?: boolean; /** * Files accepted but not yet readable — an image being downscaled, a PDF being * extracted. They have no id yet, so they get placeholder chips. * * ★ Without these the work is invisible: a 50-page PDF or a 12MP photo left an * empty strip and a dead send button, and the only signal that anything was * happening was a control that had stopped working. */ preparingCount?: number; } /** * Pending-attachment strip above the composer input (Workstream 3). * * Images get a thumbnail, everything else a typed icon chip. Upload state is * shown on the chip itself — a spinner while it is in flight, a red outline plus * the reason when it fails — so a farmer on a weak connection can see which * photo is still going up instead of guessing why send is disabled. */ export declare const AssistantAttachmentChips: FC; export {}; //# sourceMappingURL=AssistantAttachmentChips.d.ts.map