/// <reference types="node" />
import { ChildProcess } from "child_process";
import { Monitor } from "forever-monitor";
import { IProc } from "./proc";
import { ISystemProc } from "./systemProc";
export interface IWorker {
    process: ChildProcess;
    monitor: Monitor;
}
export declare function spawnWorkers(workers: number, activeWorkers: IWorker[], activeProcs: IProc[], activeSystemProcs: ISystemProc[], address: string, clientTLS: {
    key: string;
    cert: string;
    ca: string;
} | false, workerConcurrency: number, workerRestartAfter: number, callback: (err?: Error | null) => void): void;
