/** * Resize an image given maxWidth and maxHeight constraints. * @param {string} base64Str base-64 string of the image * @param {number} [maxWidth=135] * @param {number} [maxHeight=120] * @returns {Promise} resized image as base-64 data URL */ export function resizeImage(base64Str: string, maxWidth?: number, maxHeight?: number): Promise;