dop-stick
Version:
Source control tooling for versionable-upgradeable smart contracts
21 lines • 780 B
TypeScript
import { Terminal } from './terminal';
export interface BoxOptions {
padding?: number;
margin?: number;
align?: 'left' | 'center' | 'right';
color?: keyof typeof Terminal.colors;
style?: 'single' | 'double' | 'round';
title?: string;
}
export declare class Box {
private static readonly styles;
private options;
private content;
constructor(content: string | string[], options?: BoxOptions);
render(): void;
private padLine;
static simple(content: string | string[], color?: keyof typeof Terminal.colors): void;
static double(content: string | string[], color?: keyof typeof Terminal.colors): void;
static round(content: string | string[], color?: keyof typeof Terminal.colors): void;
}
//# sourceMappingURL=box.d.ts.map