import { type AgentHandle, type LaunchSpec, type Runtime, type RuntimeProvider, type TerminalLayout } from "@cotal-ai/core"; /** * Spawns each agent into its own new tmux window in a shared per-space session, so * spawned teammates get room rather than crowding the spawner. Opened unfocused so the * human stays in their current window; switch to `session:name` to watch the worker. * Like cmux, you watch natively, so `attach()` throws — but teardown is real: the window * target is kept so it can be driven and closed. */ export declare class TmuxRuntime implements Runtime { private readonly session; readonly kind: "tmux"; constructor(session: string); spawn(name: string, spec: LaunchSpec, cwd: string): AgentHandle; } /** Self-registering runtime provider — `import "@cotal-ai/tmux"` makes the manager's * `tmux` runtime available without the manager depending on this package. */ export declare const tmuxRuntimeProvider: RuntimeProvider; /** Self-registering terminal-layout provider — lets a caller (e.g. `cotal setup`) open/close * tmux windows by resolving `registry.resolve("terminal","tmux")`, so an implementation * drives tmux without importing this package. The session is detected from the ambient `$TMUX` * environment; throws if not inside tmux (per AGENTS.md: no silent fallback). */ export declare const tmuxTerminalProvider: TerminalLayout; //# sourceMappingURL=runtime.d.ts.map