/** * MechJeb Ascent Program * * Task-oriented interface for launching to orbit */ import type { KosConnection } from '../../transport/kos-connection.js'; import type { LaunchOptions, AscentSettings, AscentStatus, AscentProgress, AscentResult } from '../types.js'; /** * Handle for monitoring an in-progress ascent */ export declare class AscentHandle { private conn; readonly id: string; readonly targetAltitude: number; private aborted; constructor(conn: KosConnection, id: string, targetAltitude: number); /** * Get current progress of the ascent * Optimized: single atomic query instead of 5 sequential commands */ getProgress(): Promise; /** * Wait for the ascent to complete using TypeScript polling * More reliable than blocking kOS UNTIL loop - handles connection recovery */ waitForCompletion(pollIntervalMs?: number): Promise; /** * Abort the ascent */ abort(): Promise; } /** * Ascent Program - controls MechJeb ascent autopilot */ export declare class AscentProgram { private conn; private handleCounter; constructor(conn: KosConnection); /** * Wait for MechJeb to be fully initialized and ready. * Just retry until MechJeb queries work - no arbitrary delays. */ waitForMechJebReady(): Promise; /** * Configure ascent settings */ configure(settings: Partial): Promise; /** * Get current ascent status * Optimized: single atomic query instead of 3 sequential commands */ getStatus(): Promise; /** * Enable or disable ascent autopilot */ setEnabled(enabled: boolean): Promise; /** * Launch to orbit - high-level task method * * Configures MechJeb ascent guidance and initiates launch. * MechJeb handles throttle, staging, and attitude automatically. * Returns a handle for monitoring progress. */ launchToOrbit(options: LaunchOptions): Promise; } //# sourceMappingURL=ascent.d.ts.map