UNPKG

470 BTypeScriptView Raw
1export declare const stdout: (opts?: {
2 print?: boolean;
3 stripColor?: boolean;
4}) => {
5 run(ctx: {
6 readonly stdout: string;
7 }): void;
8 finally(): void;
9};
10export declare const stderr: (opts?: {
11 print?: boolean;
12 stripColor?: boolean;
13}) => {
14 run(ctx: {
15 readonly stderr: string;
16 }): void;
17 finally(): void;
18};
19export declare const stdin: (input: string, delay?: number) => {
20 run: () => void;
21 finally(): void;
22};