import { ClientAnalytics } from '@zeniai/client-analytics'; import { Attachment, AuthParams, FetchState, FetchStateAndError, ID, InvoiceProcessingPayload, ReceiptsProcessingPayload, W9FormProcessingPayload } from '@zeniai/client-epic-state'; import { AttachmentType } from '../../vendors/common'; export declare const AttachmentElement: ({ type, attachmentIdBeingUploaded, uploadError, uploadErrorMsg, showAutofill, allowMultiFiles, customError, dropFilePlaceholder, showInfoText, showTitlebar, pdfTitle, openSizeLimitPopup, onUploadAttachment, uploadStatus, }: { attachmentIdBeingUploaded: boolean; showAutofill: boolean; uploadError: boolean; uploadErrorMsg: string; allowMultiFiles?: boolean; customError?: string; dropFilePlaceholder?: Record; isLoading?: boolean; pdfTitle?: string; showInfoText?: boolean; showTitlebar?: boolean; type?: AttachmentType; uploadStatus?: FetchStateAndError; openSizeLimitPopup: (shouldOpen: boolean) => void; onUploadAttachment?: (fileInfo: Blob[], fileName: string[], uploadMethod: "dragdrop" | "upload") => void; }) => import("react/jsx-runtime").JSX.Element; declare const InvoiceUploadSection: ({ uploadInvoiceEndPoint, authParams, showAutofill, allowMultiFiles, type, customError, pdfTitle, entityId, shouldNotShowAttachment, analytics, style, noAttachmentText, dropFilePlaceholder, showInfoText, showTitlebar, showTitlebarIcon, file, attachmentTitle, vendorLegalName, onInvoiceUpload, onSkipAutofill, setFileUploaded, updateInvoiceUploadFetchState, onReplaceClick, onDeleteClick, uploadStatus, isLoading, }: { authParams: AuthParams; showAutofill: boolean; uploadInvoiceEndPoint: string; allowMultiFiles?: boolean; analytics?: ClientAnalytics; attachmentTitle?: string | JSX.Element; customError?: string; dropFilePlaceholder?: Record; entityId?: ID; file?: Attachment; isLoading?: boolean; noAttachmentText?: string; pdfTitle?: string; shouldNotShowAttachment?: boolean; showInfoText?: boolean; showTitlebar?: boolean; showTitlebarIcon?: boolean; style?: React.CSSProperties; type?: AttachmentType; uploadStatus?: FetchStateAndError; vendorLegalName?: string; onDeleteClick?: () => void; onInvoiceUpload?: (response: InvoiceProcessingPayload | ReceiptsProcessingPayload | W9FormProcessingPayload | undefined) => void; onReplaceClick?: () => void; onSkipAutofill?: (autoFill: boolean) => void; setFileUploaded?: () => void; updateInvoiceUploadFetchState?: (fetchState: FetchState) => void; }) => import("react/jsx-runtime").JSX.Element; export default InvoiceUploadSection;