import { Worker, type ResourceLimits } from "node:worker_threads";
type CreateWorkerOptions = {
    projectRoot?: string;
    condition?: "react-server" | "react-client";
    nodePath?: string;
    nodeOptions?: string;
    mode?: "production" | "development";
    reverseCondition?: boolean;
    maxListeners?: number;
    workerPath: string;
    resourceLimits?: ResourceLimits;
    typescript?: boolean;
};
export declare function createWorker(options: CreateWorkerOptions): Promise<Worker>;
export {};
//# sourceMappingURL=createWorker.d.ts.map