-import type { PoolOptions } from '../pool'
-import { PoolType } from '../pool-internal'
-import type { ThreadWorkerWithMessageChannel } from './fixed'
+import { type Worker } from 'node:worker_threads'
+import { type PoolOptions, type PoolType, PoolTypes } from '../pool'
+import { checkDynamicPoolSize } from '../utils'