import { type SessionContext } from './windows.mts'; export type LaunchOptions = { noAttach: boolean; /** Pid recorded in the session environment to prove this launcher owns it. */ pid: number; sleep: (milliseconds: number) => void; /** Whether the launcher process recorded in the session environment still runs. */ isPidAlive: (pid: number) => boolean; }; /** Start the configured windows in a worktree-scoped tmux session, or reuse a running one. */ export declare function launchSession(context: SessionContext, options: LaunchOptions): number;