import { ImageType } from "./ImageType"; export declare type DataURL = string; export interface DecodedDataURL { readonly data: ArrayBuffer; readonly type: string; } export declare namespace DataURLs { function decode(dataURL: DataURL): DecodedDataURL; function encode(ab: ArrayBuffer, type: ImageType): string; function parseDataPortion(dataURL: DataURL): string; function toBlob(data: DataURL): Blob; }