/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the Source EULA. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

declare module 'native-watchdog' {

	/**
	 * Start monitoring for a certain pid to exist.
	 * If the process indicated by pid ceases to execute,
	 * the current process will exit in 6 seconds with exit code 87
	 */
	export function start(pid: number): void;

	export function exit(exitCode: number): void;

}
