File size: 267 Bytes
9ada4bc
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Type definitions for cli-width 4.0
/// <reference types="node" />

import { Stream } from 'stream';
import tty = require('tty');

declare function cliWidth(options?: {
  defaultWidth?: number;
  output?: Stream;
  tty?: typeof tty;
}): number;

export = cliWidth;