import { Dispatch, MutableRefObject } from 'react'; import { ICaseDetailsState } from '../../../../../reducers/CaseConstNTypes'; interface UseAttachmentUploadCompletionParams { isUploadingAttachments: boolean; hasQueuedUploads: boolean; hasAbortedOrFailed: boolean; isUploadingAttachmentPrevious: MutableRefObject; batchSuccessCountRef: MutableRefObject; caseDispatch: Dispatch; apolloClient: { query: (options: any) => Promise; mutate: (options: any) => Promise; }; caseNumber: string; existingCaseDetails?: Partial; isInternal: boolean; status: string | undefined; resetAttachmentSection: () => void; setCssCommentAgreed: (v: boolean) => void; onAttachmentBatchAdded?: () => void; } /** * Batch cleanup after uploads settle. * Per-file success toasts fire immediately; discussion list refresh runs once here * when the batch finishes so we avoid N full list refetches for N files. */ export declare function useAttachmentUploadCompletion({ isUploadingAttachments, hasQueuedUploads, hasAbortedOrFailed, isUploadingAttachmentPrevious, batchSuccessCountRef, caseDispatch, apolloClient, caseNumber, existingCaseDetails, isInternal, status, resetAttachmentSection, setCssCommentAgreed, onAttachmentBatchAdded, }: UseAttachmentUploadCompletionParams): void; export {}; //# sourceMappingURL=useAttachmentUploadCompletion.d.ts.map