export class HTMLCanvasElement extends HTMLElement {
/**
* @param {string} contextType - The type of context to create.
* @param {Object} [contextAttributes] - Optional attributes for the context.
* @returns {CanvasRenderingContext2D|WebGLRenderingContext|null} The requested context.
*/
getContext(contextType: string, contextAttributes?: any): CanvasRenderingContext2D | WebGLRenderingContext | null;
}
import { HTMLElement } from './html-element.mjs';
import { CanvasRenderingContext2D } from './canvas-rendering-context-2d.mjs';
import { WebGLRenderingContext } from './webgl-rendering-context.mjs';