// 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;
