import type { EditorToolId } from "@pien-studio/editor-core"; export type ToolModeController = { kind: "mode"; id: EditorToolId; label: string; }; export type ToolActionController = { kind: "action"; id: string; label: string; run: () => void; }; export type EditorToolController = ToolModeController | ToolActionController;