import type { Options, PromptObject } from 'prompts'; import prompts from 'prompts'; export type Question = PromptObject & { optionsPerPage?: number; }; export type NamelessQuestion = Omit, 'name' | 'type'>; type PromptOptions = { nonInteractiveHelp?: string; } & Options; export default function prompt(questions: Question, { nonInteractiveHelp, ...options }?: PromptOptions): Promise>; export declare function selectAsync(questions: NamelessQuestion): Promise; export {};