UNPKG

@bytedance/mona-client-web

Version:

web for mona

7 lines (6 loc) 431 B
import { CanvasToTempFilePathOptions } from '@bytedance/mona'; import CanvasContext from './CanvasContext'; declare function createCanvasContext(canvasId: string): CanvasContext; declare function canvasToTempFilePath(options: CanvasToTempFilePathOptions): void; declare function createOffscreenCanvas(width?: number, height?: number): HTMLCanvasElement; export { createCanvasContext, canvasToTempFilePath, createOffscreenCanvas };