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: <T extends string>(questions: prompts.PromptObject<T> | prompts.PromptObject<T>[]) => Promise<prompts.Answers<T>>;
};
export declare const getSpinner: () => Spinner;
