import { FormTypes } from '@oneblink/types'; import { attachmentsService } from '../../apps'; import { FormElementValueChangeHandler, IsDirtyProps } from '../../types/form'; declare const useAttachments: (element: FormTypes.FilesElement, onChange: FormElementValueChangeHandler, setIsDirty: IsDirtyProps["setIsDirty"]) => { addAttachments: (files: File[]) => Promise; removeAttachment: (id: string) => void; changeAttachment: (id: string, attachment: attachmentsService.Attachment) => void; }; export default useAttachments;