import type { ComponentType, CSSProperties, HTMLAttributes, MouseEvent } from 'react'; import type { Node, PanelPosition, XYPosition } from '@reactflow/core'; export type GetMiniMapNodeAttribute = (node: Node) => string; export type MiniMapProps = Omit, 'onClick'> & { nodeColor?: string | GetMiniMapNodeAttribute; nodeStrokeColor?: string | GetMiniMapNodeAttribute; nodeClassName?: string | GetMiniMapNodeAttribute; nodeBorderRadius?: number; nodeStrokeWidth?: number; nodeComponent?: ComponentType; maskColor?: string; maskStrokeColor?: string; maskStrokeWidth?: number; position?: PanelPosition; onClick?: (event: MouseEvent, position: XYPosition) => void; onNodeClick?: (event: MouseEvent, node: Node) => void; pannable?: boolean; zoomable?: boolean; ariaLabel?: string | null; inversePan?: boolean; zoomStep?: number; offsetScale?: number; }; export type MiniMapNodes = Pick & { onClick?: (event: MouseEvent, nodeId: string) => void; }; export type MiniMapNodeProps = { id: string; x: number; y: number; width: number; height: number; borderRadius: number; className: string; color: string; shapeRendering: string; strokeColor: string; strokeWidth: number; selected?: boolean; style?: CSSProperties; onClick?: (event: MouseEvent, id: string) => void; }; //# sourceMappingURL=types.d.ts.map