UNPKG

646 BTypeScriptView Raw
1/// <reference types="node" />
2import getopt from './getopt';
3import read from './read';
4import readLine from './readLine';
5import ProgressBar from './ProgressBar';
6import ask from './ask';
7declare const stdio: {
8 getopt: (config: import("./getopt").Config, command?: string[], options?: import("./getopt").Options | undefined) => import("./getopt").GetoptResponse | null;
9 read: (lineHandler: import("./read").LineHandler, input?: NodeJS.ReadableStream) => Promise<void>;
10 readLine: typeof readLine;
11 ask: typeof ask;
12 ProgressBar: typeof ProgressBar;
13};
14export default stdio;
15export { getopt, read, readLine, ask, ProgressBar };