export function isWebWorkerAvailable(): boolean { return typeof window !== 'undefined' && Boolean(window.Worker) }