import type { ServerStreamHandlers } from "../types.js";
import type { MessagePort } from "node:worker_threads";
/**
 * Creates handlers for two-port communication: fromWorker for streaming data out, toWorker for control messages in
 * Following zero-copy streaming pattern: fromWorker (worker → main), toWorker (main → worker)
 */
export declare function createHandlers(fromWorker?: MessagePort, toWorker?: MessagePort): ServerStreamHandlers;
export declare const handlers: ServerStreamHandlers;
//# sourceMappingURL=handlers.d.ts.map