/** * Runs one prompt-processing round with a dedicated temporary runtime log file that is cleaned up only after successful non-preserved runs. */ export declare function withPromptRuntimeLog(scriptPath: string, handler: (logPath: string) => Promise, options?: { preserveArtifactsOnSuccess?: boolean; }): Promise;