export interface ServeOptions { port?: string; host?: string; dataDir?: string; gateway?: string; gatewayToken?: string; gatewayPassword?: string; /** Open the Control Center after the scheduler is reachable. */ open?: boolean; foreground?: boolean; } /** Resolve the actual infinicode CLI entry point so `robopark setup --start` * works even when global bins are not on PATH. * * Returns the node executable path and the path to `bin/infinicode.js` inside * the installed `infinicode` package. We avoid spawning the bare `infinicode` * command because npm's `.cmd` shim is not reliably resolvable by Node's * `spawn` without `shell: true` on Windows, and shell concatenation triggers * a deprecation warning when args are passed. */ export declare function resolveInfinicodeBin(): Promise<{ node: string; script: string; } | null>; export declare function roboparkServe(opts: ServeOptions): Promise; /** Quick health check: is the scheduler responding? */ export declare function schedulerHealthy(url: string, timeoutMs?: number): Promise;