import { type Task } from './-private/index.js'; /** * Runs a task on a worker. * * Note, a worker file always uses the code shown below. You just need to * import the task from the right file. * * @param task * * Some function to call. * * @example * * Create a worker file for a task. * * ```ts * import { runWorker } from '@codemod-utils/threads'; * * import { task } from './task.js'; * * runWorker(task); * ``` */ export declare function runWorker(task: Task): void;