import type { RefObject } from 'react'; type AnchorShape = 'diamond' | 'circle' | 'square' | 'triangle'; interface AnchorStyle { /** * Shape size in px. * @default 16 */ size?: number; /** * @default 'rgba(255,255,255,0.85)' */ fill?: string; /** * @efault '#7a8fa6' */ stroke?: string; /** * @default 'rgba(210,220,235,0.6)' */ hoverFill?: string; /** * @default '#7a8fa6' */ hoverStroke?: string; /** * @default 'rgba(210,220,235,0.8)' */ dragFill?: string; /** * @default '#7a8fa6' */ dragStroke?: string; /** * Stroke width in px. * @default 1.2 */ strokeWidth?: number; /** * @default 'rgba(74,111,168,0.5)' */ guideColor?: string; /** * @default 'rgba(42,82,160,0.75)' */ guideDragColor?: string; /** * @default 'solid' */ guideStyle?: 'dashed' | 'dotted' | 'solid'; } interface AnchorPosition { x: number; y: number; } interface AnchorProps { position: AnchorPosition; shape?: AnchorShape; containerRef: RefObject; anchorStyle?: AnchorStyle; restoreFocusOnLeave?: boolean; onDragMove: (newX: number) => void; onDragEnd: (lastX: number) => void; onDelete: () => void; } export declare function Anchor({ position, shape, containerRef, anchorStyle, restoreFocusOnLeave, onDragMove, onDragEnd, onDelete, }: AnchorProps): import("react").JSX.Element; export {}; //# sourceMappingURL=Anchor.d.ts.map