import type { IActivityHandler } from "../../IActivityHandler"; /** Defines inputs of the RunPython activity. */ export interface RunPythonInputs { pythonFile: string; arguments: string[]; timeout?: number; } /** Defines outputs from the RunPython activity. */ export interface RunPythonOutputs { /** @description Any error messages written by the script. */ error: string; /** @description The exit code returned by the script. An exit code other than zero usually indicates a failure. */ exitCode: number; /** @description The text output of the Python script. */ result: string; /** @description Whether the Python script completed successfully. */ success: boolean; } export declare class RunPython implements IActivityHandler { static readonly action = "gcx:wf:server::RunPython"; static readonly suite = "gcx:wf:builtin"; execute(inputs: RunPythonInputs): RunPythonOutputs; }