import { ApolloClient } from '@apollo/client'; import { PendingUploadAttachment } from './types'; interface UseAttachmentUploadArgs { workspaceClient: ApolloClient; onError: (message: string) => void; } export declare function useAttachmentUpload({ workspaceClient, onError }: UseAttachmentUploadArgs): { uploading: boolean; pendingAttachments: PendingUploadAttachment[]; fileInputRef: import('react').RefObject; handleUploadFiles: (files: FileList | null) => Promise; removePendingAttachment: (fileId: string) => void; clearPendingAttachments: () => void; }; export {}; //# sourceMappingURL=useAttachmentUpload.d.ts.map