UNPKG

@radcliffetech/symbolos-core

Version:

Core symbolic simulation and execution engine for Symbolos

18 lines (17 loc) 888 B
import type { FunctorStep, PipelineArgs, WorldFrame, WorldInstance, WorldSimulatorConfig } from "../types"; interface createWorldInstanceFromFrameParams { frame: WorldFrame; pipelineId: string; runId: string; } export declare function createWorldInstanceFromFrame({ frame, pipelineId, runId, }: createWorldInstanceFromFrameParams): WorldInstance; export declare function createWorld(pipelineId: string, runId?: string): WorldInstance; export declare function runGen2WorldSimulation({ world, pipelineArgs, steps, simulatorConfig, frameHandler, }: { world: WorldInstance; pipelineArgs: PipelineArgs; steps: FunctorStep[]; simulatorConfig: WorldSimulatorConfig; frameHandler?: (world: WorldInstance) => void; }): Promise<WorldInstance>; export declare function forkWorld(sourceWorld: WorldInstance, newParams?: Record<string, any>): WorldInstance; export {};