import { type Ora } from 'ora'; import prompts from 'prompts'; export type Spinner = Ora & { /** * stop the spinner and clear the text */ reset: () => void; log: (msg: string) => void; /** * create new line without disrupting the spinner */ newLine: () => void; /** * prompt using `prompts` without disrupting the spinner */ prompt: (questions: prompts.PromptObject | prompts.PromptObject[]) => Promise>; }; export declare const getSpinner: () => Spinner;