import { NodeConfig } from '@logicflow/core'
export enum ToolbarTypeEnum {
	ZOOM_IN = 'zoomIn',
	ZOOM_OUT = 'zoomOut',
	RESET_ZOOM = 'resetZoom',

	UNDO = 'undo',
	REDO = 'redo',

	SNAPSHOT = 'snapshot',
	VIEW_DATA = 'viewData'
}

export interface NodeItem extends NodeConfig {
	icon: string
}

export interface ToolbarConfig {
	type?: string | ToolbarTypeEnum
	tooltip?: string | boolean
	icon?: string
	disabled?: boolean
	separate?: boolean
}
