/**
 * Terminate program.
 */
export declare function terminate(): void;
/**
 * Set terminate handler.
 *
 * @param func The terminate handler.
 */
export declare function set_terminate(func: () => void): void;
/**
 * Get terminate handler.
 *
 * @return The terminate handler.
 */
export declare function get_terminate(): (() => void) | undefined;
