import { InjectionKey } from 'vue'; import { Point } from '../core/types'; /** * waypoint 편집 상태를 Vue Flow 바깥(캔버스 레벨)에서 관리하기 위한 컨트롤러. * 엣지 컴포넌트는 이 컨트롤러를 통해서만 레이아웃 waypoint를 읽고 쓴다 * → 레이아웃 데이터가 엔진 내부 상태와 분리되어 엔진 교체에도 견딘다. */ export interface WaypointController { points(edgeId: string): Point[]; movePoint(edgeId: string, index: number, p: Point): void; insertPoint(edgeId: string, index: number, p: Point): void; removePoint(edgeId: string, index: number): void; } export declare const WAYPOINT_CONTROLLER: InjectionKey;