/**
 * Adds an exit handler function with an optional context.
 * @param handler - The handler function to execute on exit.
 * @param context - The context to bind the handler function to.
 */
export declare function addExitHandler(handler: () => void, context: any): void;
//# sourceMappingURL=exitHandler.d.ts.map