/** `cd <cwd> && exec <command>` — for backends that don't set cwd natively. */
export declare function loginExec(cwd: string, command: string[]): string;
/** `exec <command>` — for backends that set the working directory natively. */
export declare function execOnly(command: string[]): string;
/** Wrap an inner shell script in an interactive login zsh: `zsh -ilc '<inner>'`. */
export declare function iLoginShell(inner: string): string;
