import { __name } from "../_virtual/_rolldown/runtime.mjs"; import { Types } from "../likec4diagram/types.mjs"; import { ReactFlowInstance, ReactFlowState } from "@xyflow/react"; //#region src/hooks/useXYFlow.d.ts export type XYFlowInstance = ReactFlowInstance; export type XYStoreState = ReactFlowState; export type XYStoreApi = { getState: () => XYStoreState; setState: (state: Partial | ((state: XYStoreState) => Partial)) => void; subscribe: (listener: (state: XYStoreState, prevState: XYStoreState) => void) => () => void; }; //#endregion