UNPKG

@radcliffetech/symbolos-core

Version:

Core symbolic simulation and execution engine for Symbolos

23 lines (22 loc) 801 B
import type { SymbolicObject, WorldArchive, WorldFrame, WorldSimulatorConfig } from "../types"; type ArchiveParams = { context: Record<string, any>; pipelineId: string; runId: string; config: WorldSimulatorConfig; getArtifacts: (context: Record<string, any>) => any[]; }; export declare function storeWorldArchive({ context, pipelineId, runId, config, getArtifacts, }: ArchiveParams): Promise<{ world: WorldArchive; filePath: string; }>; type ArchiveFrameParams = ArchiveParams & { tick: number; step: number; previousArtifacts?: Map<string, SymbolicObject>; }; export declare const storeWorldFrame: ({ context, pipelineId, runId, config, getArtifacts, tick, step, }: ArchiveFrameParams) => Promise<{ frame: WorldFrame; filePath: string; }>; export {};