/** Tee a command's combined stdout/stderr to `outFile` (UTF-8, BOM-aware). */ export declare function teeCommand(cmd: string, outFile: string): string; /** Append a step that writes the command's exit code to `exitFile`. */ export declare function withExitFile(cmd: string, exitFile: string): string; /** * Bracket a command with synthetic SessionStart / SessionEnd hook events * (`.autodev/hooks-events.jsonl`) for providers without native hooks * (copilot-cli, opencode-cli). The post hook always runs even on failure. */ export declare function wrapWithSyntheticHooks(cmd: string, provider: string, workspaceRoot: string, sessionName: string): string; /** Combine profile + message into a temp file under `.autodev/messages/` and return its path. */ export declare function writeCombinedFile(root: string, agentProfileFile: string, messageFile: string, includeProfile: boolean): string;