import { BatchData, TransactionI } from "../../api/transactions/interface"; type Base64Attachment = { base64: string; mimeType: string; filename: string; size?: number; }; type AttachmentValue = File[] | Base64Attachment[]; declare const placeholder: string; declare let files: { [key: string]: AttachmentValue; }; declare let fileLabels: { [key: string]: string[]; }; declare let fileErrorMsg: { [key: string]: string; }; declare function isBase64AttachmentArray(attachments: unknown): attachments is Base64Attachment[]; declare function initLabels(uuid: string): void; declare function clear(): void; declare function setFiles(next: Record): void; declare function handleAttachmentChange({ that, uuid, event }: { that: any; uuid: string; event: Event; }): void; declare function removeAttachment({ that, uuid, labelIndex, event }: { that: any; uuid: string; labelIndex: number; event: Event; }): void; declare function uploadAttachments({ _pcTransactions, approvalResponse }: { _pcTransactions: TransactionI[]; approvalResponse: BatchData; }): Promise; export { clear, files, fileLabels, setFiles, isBase64AttachmentArray, handleAttachmentChange, initLabels, placeholder, removeAttachment, uploadAttachments, fileErrorMsg };