export declare class Spinner {
    private frames;
    private interval;
    private currentFrame;
    private text;
    private isSpinning;
    private startTime;
    constructor(text?: string);
    start(text?: string): void;
    stop(success?: boolean, message?: string): void;
    private render;
    updateText(text: string): void;
    static wrap<T>(promise: Promise<T>, text: string, options?: {
        successText?: string;
        errorText?: string;
    }): Promise<T>;
    private static getErrorMessage;
}
//# sourceMappingURL=spinner.d.ts.map