export type TmuxWindowConfig = { name: string; /** Shell body run through `bash -lc`. */ command: string; /** Working directory, relative to the worktree root unless absolute. */ cwd?: string; env: Record; /** Keep the pane open after the command exits (appends `; read`). Default true. */ keepOpen: boolean; }; export type TmuxSessionConfig = { /** Prepended to the worktree hash to form the tmux session name. */ sessionPrefix: string; /** Session option (without the leading `@`) set once every window exists. */ readyMarker: string; /** Variable recorded in the tmux session environment to identify the launcher. */ launcherPidVar: string; env: Record; windows: TmuxWindowConfig[]; /** Lines printed before a fresh session starts. */ summary: string[]; }; export declare function parseTmuxConfig(value: unknown): TmuxSessionConfig; export declare function loadTmuxConfig(path: string): TmuxSessionConfig;