import React from "react"; interface ContextmenuProps { targetId: string; menus: Array<{ label: string; key: string[]; command?: () => void; }>; } export const Contextmenu: React.FC; interface RulerProps { width: number; height: number; className?: string; style?: Omit; direction: "horizontal" | "vertical"; lineColor?: string; fontColor?: string; backgroundColor?: string; } export const Ruler: React.FC;