import type { Config } from '../service_broker/fetch'; import type { C11nEnv } from '../interpreter/c11n-env'; import type { FileResponseObject, AttachmentObject } from './types'; declare const _default: { uploadAttachment: (file: any, onUploadProgress: Config["onUploadProgress"], errorHandler: Function, context: string) => Promise; linkAttachmentsToCase: (caseID: string, attachments: any[], attachmentType: string, context: string) => Promise; getCaseAttachments: (caseID: string, context: string, includeThumbnail?: boolean) => Promise; getAttachmentCategories: (caseID: string, type: string, context: string) => Promise; downloadAttachment: (attachmentID: string, context: string, responseEncoding: string) => Promise; editAttachment: (attachmentID: string, attachmentMetaData: Map, context: string) => Promise; deleteAttachment: (attachmentID: string, context: string) => Promise>; downloadDocument: (documentID: string, context: string) => Promise; deleteDocument: (caseID: string, documentID: string, context: string) => Promise>; getDocumentURL: (pConnectObj: C11nEnv) => Promise; cancelRequest: (fileID: string) => void; buildFilePropsFromResponse: (respObj: FileResponseObject) => { props: { meta: string; name: string; icon: string; }; responseProps: { fileName: string; name: string; category: string; extension: string | undefined; ID: string; mimeType: string; attachmentURL: string; createUser: string; createDateTime: string; responseType: string | null; }; }; getAttachmentURL: (attachmentID: string) => string | undefined; prepareAttachmentData: (attachmentResponse: AttachmentObject) => object; }; export default _default;