/** Mirrors the platform-supplied `executionContext` global (see cloud-component template). */ export interface EngineExecutionContext { projectId?: string; executionId: string; toolId: string; toolVersion: string; } /** * Generates the local execution engine script. * * Mirrors the server-side `v1/thatOpenEngine.js` template: * - Provides the same globals (OBC, THREE, WEBIFC, fs, executionReporter, * thatOpenServices, executionParams, executionContext). * - Inlines the IIFE bundle code (which ends with `var main = ...`). * - Calls `main()` and sends the result back via IPC. */ export declare function buildEngineScript(bundleCode: string, accessToken: string, apiUrl: string, executionParams: object, executionContext: EngineExecutionContext): string;