@assistant-ui/react
Version:
Typescript/React library for AI Chat
11 lines • 478 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