import type { Environment } from '@wixc3/engine-core'; import type { IEngineRuntimeArguments } from '@wixc3/engine-runtime-node'; export interface IRunOptions extends Omit { devport: number; devtools?: boolean; env: Environment; } export type IRunOptionsMessage = { id: 'runOptions'; runOptions: IRunOptions; }; export const isRunOptionsMessage = (value: unknown): value is IRunOptionsMessage => { return (value as IRunOptionsMessage).id === 'runOptions'; };