import { Editor } from '@hufe921/canvas-editor'; import JsBarcode from 'jsbarcode'; declare module '@hufe921/canvas-editor' { interface Command { executeInsertBarcode1D(content: string, width: number, height: number, options?: JsBarcode.Options): void; } } export default function barcodePlugin(editor: Editor): void;