import type { Session } from '../types.js'; import type { DaemonSession } from './types.js'; /** * A BotMux shared-adopt session has a source conversation that BotMux must not * own, migrate, restart, or terminate: * * - traditional `/adopt`: an external tmux / zellij / Herdr CLI pane; * - Codex App `/adopt`: a second official `codex --remote` client attached to * an existing development-machine App Server thread. * * Both forms intentionally expose a "disconnect BotMux" action rather than a * "close/restart the source session" action. */ export declare function isSharedAdoptPersistedSession(session: Pick): boolean; /** True when BotMux owns a remote TUI client but does NOT own the App Server * behind it. Unlike a traditional adopted tmux pane, that client is safe—and * required—to clean up when the BotMux share is disconnected. */ export declare function isExistingAppServerSharedAdoptPersistedSession(session: Pick): boolean; export declare function isSharedAdoptSession(ds: Pick): boolean; //# sourceMappingURL=shared-adopt.d.ts.map