import type { ReactNode, PointerEvent as ReactPointerEvent } from 'react'; import type { DependencyGraphEditor } from './editorApi.js'; import type { Point } from './editorPrimitives.js'; import { type ShortcutGroup } from './ShortcutsButton.js'; /** What a drag carries, beside the pointer at `at` in its layer's coordinates. */ export declare function DragLabel({ at, text, refused, }: { at: Point; text: string; refused?: boolean; }): import("react").JSX.Element; export declare function BarDivider(): import("react").JSX.Element; /** A toolbar chip that adds something: click to add it, or, given `onPointerDown`, drag it to where it goes. */ export declare function AddChip({ icon, label, hint, className, onPointerDown, onClick, }: { icon: ReactNode; label: string; hint: string; className?: string; onPointerDown?: (e: ReactPointerEvent) => void; onClick: (e: React.MouseEvent) => void; }): import("react").JSX.Element; /** The bar both editors draw: problems, undo and redo, the editor's own controls, settings, shortcuts. */ export declare function EditorBar({ editor, groups, className, children, }: { editor: DependencyGraphEditor; groups: ShortcutGroup[]; className?: string; children: ReactNode; }): import("react").JSX.Element;