import type { MaybeRefOrGetter, Ref } from "vue"; import type { Attachment, AttachmentsConfig } from "@copilotkit/shared"; export interface UseAttachmentsProps { config?: MaybeRefOrGetter; } export interface UseAttachmentsReturn { attachments: Ref; enabled: Ref; dragOver: Ref; fileInputRef: Ref; containerRef: Ref; processFiles: (files: File[]) => Promise; handleFileUpload: (event: Event) => Promise; handleDragOver: (event: DragEvent) => void; handleDragLeave: (event: DragEvent) => void; handleDrop: (event: DragEvent) => Promise; removeAttachment: (id: string) => void; consumeAttachments: () => Attachment[]; } export declare function useAttachments(props: UseAttachmentsProps): UseAttachmentsReturn; //# sourceMappingURL=use-attachments.d.ts.map