/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//// <reference types="node" />importtypePromptfrom'./lib/Prompt';importtype{ScrollOptions}from'./types';exportdefaultclassPatternPrompt{protected_pipe:NodeJS.WritableStream;protected_prompt:Prompt;protected_entityName:string;protected_currentUsageRows:number;constructor(pipe:NodeJS.WritableStream,prompt:Prompt);run(onSuccess:(value:string)=>void,onCancel:()=>void,options?:{header:string;}):void;protected_onChange(_pattern:string,_options:ScrollOptions):void;}