export type TmuxResult = { status: number | null; stdout: string; }; /** Runs one tmux command. `inherit` hands the terminal to tmux (attach). */ export type TmuxRun = (args: readonly string[], inherit?: boolean) => TmuxResult; export declare function createTmuxRun(bin: string): TmuxRun; /** True when the process has any child process (the window's command is running). */ export declare function pgrepHasChildren(pid: string): boolean; export declare function isPidAlive(pid: number): boolean; export declare function sleepMs(milliseconds: number): void;