import { BaseLogger } from './base-logger';
export declare class Logger extends BaseLogger {
    private static _previousLine;
    protected print(message: string, props?: Partial<{
        prefix: string;
        stderr?: boolean;
    }>): void;
    line(): _SingleLineLogger;
    cleanup(): void;
}
/**
 * Prints to a single line unless it is committed.
 * When committed or if the stream is not TTY, it prints normally using new lines.
 */
declare class _SingleLineLogger extends BaseLogger {
    private _commited;
    commit(): void;
    protected print(message: string, props?: Partial<{
        prefix: string;
    }>): void;
}
export {};
