import { Component, type MouseEvent } from 'react'; import { type DropdownAction } from '@deephaven/components'; import { type TypeValue as FilterTypeValue } from '@deephaven/filters'; import './LinkerLink.scss'; import { type LinkType } from './LinkerUtils'; export type LinkerLinkProps = { x1: number; y1: number; x2: number; y2: number; id: string; className: string; type: LinkType; operator: FilterTypeValue; isSelected: boolean; startColumnType: string | null; onClick: (id: string) => void; onDelete: (id: string) => void; onOperatorChanged: (id: string, type: FilterTypeValue) => void; }; export type LinkerLinkState = { isHovering?: boolean; }; export declare class LinkerLink extends Component { static defaultProps: { className: string; isSelected: boolean; onClick(): void; onDelete(): void; }; /** * Make an SVG path for a circle at the specified coordinates. * @param x The x coordinate for the centre of the circle * @param y The y coordinate for the centre of the circle * @param r Radius of the circle * @returns The SVG string path */ static makeCirclePath(x: number, y: number, r: number): string; static getLabelForLinkFilter(columnType: string, filterType: FilterTypeValue): string; constructor(props: LinkerLinkProps); getOperators: (linkId: string, columnType: string) => DropdownAction[]; handleClick(event: MouseEvent): void; handleMouseEnter(): void; handleMouseLeave(): void; handleDelete(): void; getDropdownActions(): DropdownAction[]; render(): JSX.Element; } export default LinkerLink; //# sourceMappingURL=LinkerLink.d.ts.map