import { PipeHandler } from "./PipeHandler.js"; /** * WorkerPipe handles communication between a worker thread and the parent process. */ export declare class WorkerPipe extends PipeHandler { constructor(); /** * Sends a message to the parent process. * @param type - The type of the message. * @param data - The data associated with the message. */ post(type: T, data: SendMap[T]): void; }