/**
 * Clears a given canvas with a 2d context.
 *
 * @param canvas the canvas to be cleared
 *
 * @impure this function mutates the state of the canvas and has no return value
 **/
declare function clearCanvas(canvas: HTMLCanvasElement): void;

export { clearCanvas };
