export declare function getSafeContext(canvas: HTMLCanvasElement): CanvasRenderingContext2D;