export declare const spinner: (options?: {
    plain?: boolean;
}) => {
    start: (msg?: string) => void;
    stop: (msg?: string, code?: number) => void;
    message: (msg?: string) => void;
};
export type OutputEnv = {
    plain: boolean;
    ci: boolean;
    tty: boolean;
};
export declare function outputEnv(plain?: boolean): OutputEnv;
export declare function isPlainOutput(env: OutputEnv): boolean;
