import { FormTypes } from '@oneblink/types'; import { attachmentsService } from '../apps'; export declare function generateErrorAttachment(blob: Blob | undefined, fileName: string, element: FormTypes.FormElementBinaryStorage, errorMessage: string, errorType?: attachmentsService.AttachmentError['errorType']): attachmentsService.AttachmentError; export declare function prepareNewAttachment(blob: Blob, fileName: string, element: FormTypes.FormElementBinaryStorage): attachmentsService.AttachmentNew; export declare function checkIfContentTypeIsImage(contentType: string): boolean; export declare function parseFilesAsAttachmentsLegacy(files: File[], onAnnotateCanvas?: (file: File, canvas: HTMLCanvasElement) => void): Promise>; export declare function correctFileOrientation(file: File, onAnnotateCanvas?: (file: File, canvas: HTMLCanvasElement) => void): Promise;