import { type AutoReconnectingWebsocket } from "@wandelbots/nova-js"; import type { MotionGroupDescription, MotionGroupState, Nova, RobotControllerState } from "@wandelbots/nova-js/v2"; import { type AnyNovaClient } from "./novaCompat"; /** * Store representing the current state of a connected motion group. */ export type MotionStreamConnectionOptions = { /** Cell id on the Nova instance. Defaults to "cell". */ cellId?: string; }; export declare class MotionStreamConnection { readonly controller: RobotControllerState; readonly motionGroup: MotionGroupState; readonly description: MotionGroupDescription; readonly initialMotionState: MotionGroupState; readonly motionStateSocket: AutoReconnectingWebsocket; readonly cellId: string; static open(novaClient: AnyNovaClient, motionGroupId: string, options?: MotionStreamConnectionOptions): Promise; rapidlyChangingMotionState: MotionGroupState; /** Normalized instance-level Nova client (see `asNovaInstance`) */ readonly nova: Nova; constructor(nova: AnyNovaClient, controller: RobotControllerState, motionGroup: MotionGroupState, description: MotionGroupDescription, initialMotionState: MotionGroupState, motionStateSocket: AutoReconnectingWebsocket, cellId?: string); get motionGroupId(): string; get controllerId(): string; get joints(): { index: number; }[]; dispose(): void; } export default MotionStreamConnection;