export { components } from './core/components'
export { default as DrawBoard } from './core/renderer/renderer.vue'

import { components } from './core/components'

export type ShapeType = keyof typeof components
export const shapeNames = {} as Record<ShapeType, string>

for (const key in components) {
	shapeNames[key as ShapeType] = components[key as ShapeType].shapeName
}

export type { DrawItem, DrawData } from './core/components'

export type { DrawExpose } from './core/hook/use-expose.ts'