declare function blobToBase64(blob: Blob): Promise; declare const blobToUrl: (urlOrBlob: string | Blob) => string; declare const fileToBlob: (file: File) => Blob; declare const imageToBlob: (imageElement: HTMLImageElement, mimeType?: string) => Blob; /** * Загружает и отрисовывает изображение с использованием Image * * @returns {Promise} */ declare const renderImage: (urlOrBlob: Blob | string) => Promise; declare const rotateImage: (image: HTMLImageElement, angle: number) => Promise; interface DecodedDataUrl { mimeType?: string; data?: string; } declare function decodeDataUrl(url: string): DecodedDataUrl; declare const isHttpUrl: (url: string) => boolean; declare const isBase64Image: (str: string) => boolean; export { blobToBase64, blobToUrl, decodeDataUrl, fileToBlob, imageToBlob, isBase64Image, isHttpUrl, renderImage, rotateImage };