import type { Node } from 'konva/lib/Node'; import type Stage from './components/Stage.js'; import type * as konvaComponents from './components.js'; type PrefixedKonvaComponents = { [Name in keyof typeof konvaComponents as `V${Name}`]: (typeof konvaComponents)[Name]; }; declare module 'vue' { interface GlobalComponents extends PrefixedKonvaComponents { VStage: typeof Stage; } interface ComponentInternalInstance { __konvaNode?: Node; } interface VNode { __konvaNode?: Node; } } export {};