/**
 * Runs a function in a thread
 *
 * @template T
 * @param {() => T} fn The function to run in a thread
 * @returns {Promise<T>}
 * @category Threads
 */
declare function runInThread<T>(fn: () => T): Promise<T>;
export { runInThread, };
export { isMainThread, Worker, parentPort, workerData } from 'worker_threads';
