export type SpinnerColor = "cyan" | "magenta" | "yellow" | "green" | "gray" | "blue";
export declare function startSpinner({ text, enabled, stream, color, }: {
    text: string;
    enabled: boolean;
    stream: NodeJS.WritableStream;
    color?: SpinnerColor;
}): {
    stop: () => void;
    clear: () => void;
    pause: () => void;
    refresh: () => void;
    resume: () => void;
    stopAndClear: () => void;
    setText: (next: string) => void;
};
