@assistant-ui/react
Version:
React components for AI chat.
11 lines • 475 B
TypeScript
import { PendingAttachment, CompleteAttachment } from "../../types/AttachmentTypes";
import { AttachmentAdapter } from "./AttachmentAdapter";
export declare class SimpleImageAttachmentAdapter implements AttachmentAdapter {
accept: string;
add(state: {
file: File;
}): Promise<PendingAttachment>;
send(attachment: PendingAttachment): Promise<CompleteAttachment>;
remove(): Promise<void>;
}
//# sourceMappingURL=SimpleImageAttachmentAdapter.d.ts.map