import { type Control, type InputEventMouseButton, type InputEventMouseMotion } from '@galacean/effects'; import { Gizmo } from '../gizmo'; import type { GizmoOwner } from '../gizmo-owner'; import type { TextEditSession } from '../text/text-edit-session'; /** * Text-edit-mode candidate for hovering and selecting another text item. * Its hover state is deliberately separate from the normal selection hover. */ export declare class SelectTextGizmo extends Gizmo { private readonly _session; private static readonly HOVER_HIT_RADIUS; private static readonly HOVER_LINE_WIDTH; private static readonly HOVER_DASH_LENGTH; private static readonly HOVER_GAP_LENGTH; readonly type = "select-text"; private _hoverTextId; private _pointerSelecting; constructor(owner: GizmoOwner, _session: TextEditSession); get hoverTextId(): string | undefined; onMouseMove(event: InputEventMouseMotion): void; onMouseDown(event: InputEventMouseButton): void; onMouseDrag(event: InputEventMouseMotion): void; onMouseUp(event: InputEventMouseButton): void; onMouseLeave(): void; onPreRender(): void; draw(control: Control): void; dispose(): void; private _resolveTextTarget; private _isTextCandidate; private _clearHover; private _setTextCursor; }