export interface ProcessLaunchParams { command: string[]; working_directory?: string; timeout_seconds?: number; } export interface ProcessLaunchContext { resolvedEnv: Record; } export interface ProcessLaunchResult { success: boolean; exitCode: number | null; stdout?: string; stderr?: string; error?: string; } /** * Spawn a child process with env injection. * * SECURITY NOTE: stdout/stderr from the process are captured and returned * to the caller (which may be an AI agent via MCP). If the spawned process * logs environment variables, injected secrets could leak through the output. * This is an accepted trade-off for β — the process output is needed for * debugging. Consider adding output redaction in a future version. */ export declare function launchProcess(params: ProcessLaunchParams, context: ProcessLaunchContext): ProcessLaunchResult; //# sourceMappingURL=process-launcher.d.ts.map