@stacksjs/clapp
Version:
A toolkit for building CLI prompts in TypeScript.
14 lines • 542 B
TypeScript
import type { Readable, Writable } from 'node:stream';
export declare function isCancel(value: unknown): value is symbol;
export declare function setRawMode(input: Readable, value: boolean): void;
export declare function block(options?: BlockOptions): () => void;
export declare function getColumns(output: Writable): number;
export declare const CANCEL_SYMBOL: symbol;
declare interface BlockOptions {
input?: Readable
output?: Writable
overwrite?: boolean
hideCursor?: boolean
}
export * from './settings';
export * from './string';