/**
 * 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<T>(scriptPath: string, handler: (logPath: string) => Promise<T>, options?: {
    preserveArtifactsOnSuccess?: boolean;
}): Promise<T>;
