/**
 * Exit Handler
 *
 * Provides a way for commands to trigger a graceful CLI exit.
 * The exit function is registered by the Ink app and can be called
 * by commands to unmount the app properly.
 */
type ExitFunction = () => void;
export declare function registerExitHandler(fn: ExitFunction): void;
export declare function triggerExit(): void;
export {};
//# sourceMappingURL=exit-handler.d.ts.map