export default class NodeManager { private node; private apiHandler; private exiting; private apiStarted; private signalled; private configLocation; /** * Seeded from the environment so the loop survives the process being * replaced by an update. */ inJobLoop: boolean; constructor(options: { [key: string]: any; }); init(): Promise; start(marketArg?: string): Promise; stop(): Promise; /** * clean is different from stop as it does not stop the API * it doesn't quit a job or leave a market, it just clears instances from the handlers */ clean(): Promise; restart(marketArg?: string): Promise; delay(sec: number): Promise; /** Asked to stop, which is not a failure to restart on. */ isStopping(): boolean; error(): Promise; /** * Set up handling for process exit signals */ private handleProcessExit; }