import type { Connector } from "../index.js"; import { DesktopTransport } from "./desktop.js"; import type { Client, Connection, Device, TransportConnectOptions } from "./transport.js"; export interface LynxSimulatorConfig { registry: string; core: { name: string; version: string; }; lynxtron: { name: string; version: string; }; jsb?: string[]; nativeExtensions?: (version: string) => string[]; } type LynxSimulatorInfo = { clientId: string; pid: number | null; port: number; status: "starting" | "running" | "stopping" | "stopped" | "exited" | "failed"; logPath: string; startedAt: string; endedAt?: string; expiresAt?: string; exitCode: number | null; signal: NodeJS.Signals | null; error?: string; stopReason?: string; coreVersion: string; lynxtronVersion: string; jsb: string[]; nativeExtensions: string[]; }; export declare class LynxSimulatorTransport extends DesktopTransport { #private; readonly id = "simulator"; readonly persistent = true; get active(): boolean; constructor(config?: LynxSimulatorConfig); listDevices(): Promise; listClients(): Promise; list(): LynxSimulatorInfo[]; get(clientId: string): LynxSimulatorInfo; logs(clientId: string, offset?: number): Promise<{ content: string; offset: number; size: number; eof: boolean; finished: boolean; }>; wait(clientId: string, timeoutMs: number, signal?: AbortSignal): Promise; stop(clientId: string): Promise; connect(options: TransportConnectOptions): Promise>; run(connector: Connector, signal?: AbortSignal, ttlMs?: number, options?: { jsb?: unknown; nativeExtensions?: unknown; lynxtronVersion?: unknown; }): Promise; close(): Promise; } export {};