import type { RosbridgeClient } from "./client.js"; import type { ActionResultMessage, ActionFeedbackMessage } from "./types.js"; export interface ActionGoalOptions { action: string; actionType: string; args?: Record; onFeedback?: (feedback: ActionFeedbackMessage) => void; timeoutMs?: number; } /** * Client for sending action goals and receiving feedback/results. */ export declare class ActionClient { private client; constructor(client: RosbridgeClient); /** * Send an action goal and wait for the result. * * @param options - Action goal options including feedback handler * @returns The action result */ sendGoal(options: ActionGoalOptions): Promise; /** * Cancel an in-progress action goal. * * @param action - The action server name */ cancelGoal(action: string): Promise; } //# sourceMappingURL=actions.d.ts.map