import { SDKPluginOptions } from '../utils'; export interface CanvasScreenshotOptions extends SDKPluginOptions { /** * CDN URL of the screenshot library. * @default 'https://cdnjs.cloudflare.com/ajax/libs/html-to-image/1.11.13/html-to-image.min.js' */ cdnScript?: string; /** * If this callback is provided, the screenshot will be taken automatically on each project save. * @examples * screenshotOnSave: result => { * console.log('screenshotOnSave', result); * myUploadScreenshotFile(result.file); * } */ screenshotOnSave?: '__fn__'; }