import { FileAttachment, NativeAttachmentFile } from '../types/resources/denormalized_attachment_resource_for_create'; export interface FileError { file_type?: string[]; file_size?: boolean; } export declare function useAttachmentUploader({ conversationId, draftAttachments, onFlaggedInMessageForm, }: { conversationId: number; draftAttachments?: FileAttachment[]; onFlaggedInMessageForm?: (id: string) => void; }): { attachments: FileAttachment[]; attachmentIds: string[]; handleFilesAttached: (files: NativeAttachmentFile[]) => void; removeAttachment: (attachment: FileAttachment) => void; removeFlaggedAttachments: () => void; reset: () => void; pendingUploads: boolean; errorMessage: string | null; flaggedAttachmentCount: number; remainingAttachable: number; }; //# sourceMappingURL=use_attachment_uploader.d.ts.map