export declare const isOffscreenCanvas: (element: any) => boolean;
export declare const isCanvas: (element: any) => boolean;
export declare const getCanvas2D: (width: number, height: number) => HTMLCanvasElement | OffscreenCanvas;
export declare const releaseCanvas2D: (canvas: HTMLCanvasElement | OffscreenCanvas) => void;
export declare const calculateDisplaySize: (canvas: HTMLCanvasElement) => {
    width: number;
    height: number;
};
