import { ChangeEvent, type Ref } from 'react'; import { FilePreview, FileUploadInteractionProps, InputIconContainerProps } from './types'; declare function useFileUploadInteractions(props: FileUploadInteractionProps, forwardedRef: Ref): { errorText: string | undefined; filePreviews: FilePreview[]; handleDrag: (e: React.DragEvent) => void; handleFileChange: (event: ChangeEvent) => void; handleRemoveFile: (index: number) => void; hasFiles: boolean; inputIconContainerProps: InputIconContainerProps | null; isDragOver: boolean; isUploading: boolean; setRefs: (node: HTMLInputElement | null) => void; }; export default useFileUploadInteractions;