UNPKG

@assistant-ui/react

Version:

React components for AI chat.

11 lines 473 B
import { CompleteAttachment, PendingAttachment } from "../../types/AttachmentTypes"; import { AttachmentAdapter } from "./AttachmentAdapter"; export declare class SimpleTextAttachmentAdapter implements AttachmentAdapter { accept: string; add(state: { file: File; }): Promise<PendingAttachment>; send(attachment: PendingAttachment): Promise<CompleteAttachment>; remove(): Promise<void>; } //# sourceMappingURL=SimpleTextAttachmentAdapter.d.ts.map