/** * @holoscript/core/traits/simulation-solver-factory — narrow simulation registry * * Browser renderers import this instead of @holoscript/core/traits so they do * not bundle every domain trait plugin. */ export interface SimulationSolver { step?(dt: number): void; solve?(): unknown; dispose(): void; getStats?(): Record; } export type SolverFactory = (config: Record) => SimulationSolver; export declare const SimulationSolverFactory: { register(type: string, factory: SolverFactory): void; create(type: string, config: Record): SimulationSolver | null; has(type: string): boolean; types(): string[]; clear(): void; };