import { ComponentOptions, GUI, PrefixStyleProps } from '../../core'; import type { DisplayObject, GroupStyleProps, PathStyleProps, TextStyleProps } from '../../shapes'; import { Group } from '../../shapes'; export type IconStyleProps = PathStyleProps & { size?: number; radius?: number; shape?: string | (() => DisplayObject); orientation?: 'horizontal' | 'vertical'; }; export type LabelStyleProps = Partial; export type HandleStyleProps = GroupStyleProps & PrefixStyleProps & PrefixStyleProps & { orientation?: IconStyleProps['orientation']; showLabel?: boolean; spacing?: number; type?: 'start' | 'end'; }; export type HandleOptions = ComponentOptions; export declare class Handle extends GUI { private label; private icon; constructor(options: HandleOptions); private renderLabel; private renderIcon; render(attributes: HandleStyleProps, container: Group): void; }