import type { Worker } from 'cluster'
import type { MessagePort } from 'worker_threads'
+import type { KillBehavior } from './worker/worker-options'
-export type KillBehavior = 'HARD' | 'SOFT'
/**
* Make all properties in T non-readonly
*/
/**
* Kill code.
*/
- readonly kill?: KillBehavior | number
+ readonly kill?: KillBehavior | 1
/**
* Error.
*/