import * as ora from 'ora';
export declare const ANSI_REGEX: RegExp;
export interface LoggerOptions {
    bold?: boolean;
    secrets?: boolean;
}
export declare class Spinner {
    private oraInstance;
    constructor();
    private getOraInstance;
    isSpinning(): boolean;
    clear(): void;
    frame(): void;
    start(text?: string, options?: LoggerOptions): void;
    succeed(text?: string, options?: LoggerOptions): void;
    fail(text?: string, options?: LoggerOptions): void;
    info(text?: string, options?: LoggerOptions): void;
    warn(text?: string, options?: LoggerOptions): void;
    stop(text?: string, options?: LoggerOptions): void;
}
export declare function getSpinner(): Spinner;
export declare function writeLog(text: string, options?: LoggerOptions): void;
export declare function succeed(text: string, options?: LoggerOptions): void;
export declare function fail(text: string, options?: LoggerOptions): void;
export declare function warn(text: string, options?: LoggerOptions): void;
export declare function info(text: string, options?: LoggerOptions): void;
export declare function debug(text: string, options?: LoggerOptions): void;
export declare function debugSpinner(text: string, options?: LoggerOptions): Spinner | ora.Ora;
export declare function debugMode(mode: boolean): void;
export declare function consoleLog(text: string, options?: LoggerOptions): void;
export declare function inDebugMode(): boolean;
export declare function setSecret(secret: string): void;
export declare function replaceSecrets(input: string, secrets: string[]): string;
export declare function setLogsDirectory(path: string): void;
//# sourceMappingURL=logger.d.ts.map