1export type EngineRuntime = 'edge-js' | 'edge-wasm' | 'edge-python' | 'browser-run'23export const ENGINE_IDS = [4 'plantuml',5 'mermaid',6 'graphviz',7 'd2',8 'c4plantuml',9 'blockdiag',10 'seqdiag',11 'actdiag',12 'nwdiag',13 'packetdiag',14 'rackdiag',15 'squaring',16 'bpmn',17 'bytefield',18 'dbml',19 'diagramsnet',20 'ditaa',21 'erd',22 'excalidraw',23 'goat',24 'nomnoml',25 'pikchr',26 'structurizr',27 'svgbob',28 'symbolator',29 'tikz',30 'trn',31 'umlet',32 'vega',33 'vegalite',34 'wavedrom',35 'wireviz',36] as const3738export type EngineId = typeof ENGINE_IDS[number]3940export function isEngineId(value: string): value is EngineId {41 return (ENGINE_IDS as readonly string[]).includes(value)42}