export declare function setExitOnUnhandledRejection(exit: boolean): void; export declare function handleErrorAndExit(err: Error, commandName: string): Promise; export declare function handleUnhandledRejection(err: Error | null | undefined | {}): Promise;