1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import type Prompt from './lib/Prompt';
|
9 | import type { ScrollOptions } from './types';
|
10 | export default class PatternPrompt {
|
11 | protected _pipe: NodeJS.WritableStream;
|
12 | protected _prompt: Prompt;
|
13 | protected _entityName: string;
|
14 | protected _currentUsageRows: number;
|
15 | constructor(pipe: NodeJS.WritableStream, prompt: Prompt);
|
16 | run(onSuccess: (value: string) => void, onCancel: () => void, options?: {
|
17 | header: string;
|
18 | }): void;
|
19 | protected _onChange(_pattern: string, _options: ScrollOptions): void;
|
20 | }
|