// Type definitions for node-cleanup 2.1 // Project: https://github.com/jtlapp/node-cleanup // Definitions by: Agadar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Note that ES6 modules cannot directly export callable functions. // This file should be imported using the CommonJS-style: // import nodeCleanup = require('node-cleanup'); export = install; declare function install(cleanupHandler?: ((exitCode: number | null, signal: string | null) => boolean | undefined | void), stderrMessages?: { ctrl_C: string; uncaughtException: string }): void; declare namespace install { function uninstall(): void; }