@radcliffetech/symbolos-core
Version:
Core symbolic simulation and execution engine for Symbolos
17 lines (16 loc) • 809 B
TypeScript
import type { PipelineArgs, WorldFrame, WorldFunctorStep, WorldInstance } from "../types";
interface createWorldInstanceFromFrameParams {
frame: WorldFrame;
pipelineId: string;
runId: string;
}
export declare function createWorldInstanceFromFrame({ frame, pipelineId, runId, }: createWorldInstanceFromFrameParams): WorldInstance;
export declare function createWorld(worldId?: string, runId?: string): WorldInstance;
export declare function runWorldPipeline({ world, steps, pipelineArgs, frameHandler, }: {
world: WorldInstance;
steps: WorldFunctorStep[];
pipelineArgs?: PipelineArgs;
frameHandler?: (world: WorldInstance) => void;
}): Promise<WorldInstance>;
export declare function forkWorld(sourceWorld: WorldInstance, newParams?: Record<string, any>): WorldInstance;
export {};