import type { CloneOptions, EnvMapping, PiRunOptions } from "./types"; /** Path to the env-wrapper script inside the VM. */ export declare const WRAPPER_PATH = "/usr/local/bin/freestyle-run"; /** * Build the shell wrapper script that exports env vars and `exec "$@"`. * Every command inside the VM should run through this wrapper so that * forwarded environment variables are available to all subprocesses. * * Empty env → produces a no-op passthrough (`#!/bin/bash\nexec "$@"\n`). */ export declare function buildWrapperScript(env: EnvMapping): string; /** Build a `git clone` command string from the given options. */ export declare function buildCloneCommand(options: CloneOptions): string; /** * Build the pi CLI argument array for a given set of options. * Pure — does not write files or touch the VM; the caller is responsible * for writing `/tmp/pi-task.md` and `/tmp/pi-system.md` before executing. */ export declare function buildPiArgs(options: PiRunOptions): string[]; /** * Parse `git status --porcelain` output into a list of changed file paths. * Each line has the format `XY filename` — the first 3 characters (status + space) are stripped. */ export declare function parseGitStatus(output: string): string[]; //# sourceMappingURL=commands.d.ts.map