/** * Define a group of prompts to be displayed * and return a results of objects within the group */ export declare function group(prompts: PromptGroup, opts?: PromptGroupOptions): Promise>>; export declare interface PromptGroupOptions { onCancel?: (opts: { results: Prettify>> }) => void } declare type Prettify = { [P in keyof T]: T[P]; } & {} export type PromptGroupAwaitedReturn = { [P in keyof T]: Exclude, symbol>; } export type PromptGroup = { [P in keyof T]: (opts: { results: Prettify>>> }) => undefined | Promise; }