import { type IExecutionPayload } from "@twin.org/dataspace-models"; import { type IEngineCoreClone } from "@twin.org/engine-models"; /** * Dataspace Task Startup Method. * @param engineCloneData Engine clone data used to initialise a worker-thread engine instance. * @returns A promise that resolves when the engine has started and is ready to process tasks. */ export declare function appRunnerStart(engineCloneData: IEngineCoreClone): Promise; /** * Dataspace Task End. * @returns A promise that resolves when the engine has stopped and all resources are released. */ export declare function appRunnerEnd(): Promise; /** * Dataspace Task. * @param engineCloneData Engine clone data used to initialise a worker-thread engine instance. * @param payload The execution payload describing the activity and target app. * @returns The result produced by the app's handleActivity method. */ export declare function appRunner(engineCloneData: IEngineCoreClone, payload: IExecutionPayload): Promise;