import chalk from 'chalk' ; import boxen from 'boxen' ; export function box ( title , message , options ) { return `${ boxen ( [ ] . concat ( title , '' , message ) . join ( '\n' ) , { borderColor : 'white' , borderStyle : boxen . BorderStyle . Round , padding : 1 , margin : 1 , ... options , } ) }\n` ; } export function successBox ( title , message ) { return box ( title || [ chalk . green ( '✔ Tramvai Success' ) ] , message , { borderColor : 'yellow' , } ) ; }