import { type CodeExecutionMode, type IExecuteFunctions, type INodeExecutionData, type WorkflowExecuteMode } from '@tosspayments/n8n-workflow'; /** * JS Code execution sandbox that executes the JS code using task runner. */ export declare class JsTaskRunnerSandbox { private readonly jsCode; private readonly nodeMode; private readonly workflowMode; private readonly executeFunctions; private readonly chunkSize; constructor(jsCode: string, nodeMode: CodeExecutionMode, workflowMode: WorkflowExecuteMode, executeFunctions: IExecuteFunctions, chunkSize?: number); runCodeAllItems(): Promise; runCodeForEachItem(numInputItems: number): Promise; private throwExecutionError; /** Chunks the input items into chunks of 1000 items each */ private chunkInputItems; } //# sourceMappingURL=JsTaskRunnerSandbox.d.ts.map