/** * transport/iterm.ts — iTerm2 implementation of SessionTransport (synchronous). * * A thin adapter over the existing AppleScript primitives in * adapters/iterm/core.ts. It does NOT modify that module — it wraps it so the * current behaviour is preserved exactly while exposing the transport-agnostic * shape. The daemon reaches these through transport/sync-facade.ts; for the * iTerm path the facade calls core.ts directly, so this wrapper is mainly used * by the selector and to prove the abstraction against both hosts. */ import type { LaunchOptions, LaunchResult, ManagedSession, SendOptions, SessionTransport, TransportKind } from "./session-transport.js"; /** Shell line typed into a fresh tab. `resume` is the PAI-style restore start. */ export declare function itermLaunchLine(opts: LaunchOptions): string; export declare class ItermTransport implements SessionTransport { readonly kind: TransportKind; isAvailable(): boolean; listSessions(): ManagedSession[]; sendText(id: string, text: string, opts?: SendOptions): boolean; capture(id: string): string | null; isBusy(id: string): boolean; setTitle(id: string, title: string): boolean; launch(opts: LaunchOptions): LaunchResult | null; } //# sourceMappingURL=iterm.d.ts.map