import { PlaitBoard } from '@plait/core'; import { IMAGE_MIME_TYPES, MIME_TYPES } from '../constants'; import { ValueOf } from '../utils/utility-types'; import { DataURL } from '../types'; export declare const loadFromBlob: (board: PlaitBoard, blob: Blob | File) => Promise; export declare const createFile: (blob: File | Blob | ArrayBuffer, mimeType: ValueOf, name: string | undefined) => File; export declare const blobToArrayBuffer: (blob: Blob) => Promise; export declare const normalizeFile: (file: File) => Promise; export declare const parseFileContents: (blob: Blob | File) => Promise; export declare const getDataURL: (file: Blob | File) => Promise; export declare const isSupportedImageFileType: (type: string | null | undefined) => boolean; export declare const isSupportedImageFile: (blob: Blob | null | undefined) => blob is Blob & { type: ValueOf; };