UNPKG

@assistant-ui/react

Version:

Typescript/React library for AI Chat

11 lines 476 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