/** * Copyright (c) 2017-present A. Matías Quezada */ /** * Modifies an A element to download a canvas' content as a PNG image. * * @param {HTMLAnchorElement} link Element to fire the download. * @param {HTMLCanvasElement} canvas Element containing the image to be downloaded. * @param {String} name Name of the downloaded file. * @returns {null} */ export default function downloadCanvas(link: HTMLAnchorElement, canvas: HTMLCanvasElement, name: string): void;