import { CancelablePromise, Prompt } from '@inquirer/type'; import { ListrPromptAdapter } from 'listr2'; declare class ListrInquirerPromptAdapter extends ListrPromptAdapter { private prompt; /** * Get the current running instance of `inquirer`. */ get instance(): CancelablePromise; /** * Create a new prompt with `inquirer`. */ run = Prompt>(prompt: T, ...[config, context]: Parameters): Promise>; /** * Cancel the ongoing prompt. */ cancel(): void; } export { ListrInquirerPromptAdapter };