/**
 * Copyright (c) Microsoft Corporation.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { TerminalReporter } from './base';
import type { ListReporterOptions } from '../../types/test';
import type { FullResult, Suite, TestCase, TestError, TestResult, TestStep } from '../../types/testReporter';
import type { CommonReporterOptions, TerminalReporterOptions } from './base';
declare class ListReporter extends TerminalReporter {
    private _lastRow;
    private _lastColumn;
    private _testRows;
    private _stepRows;
    private _resultIndex;
    private _stepIndex;
    private _needNewLine;
    private _printSteps;
    private _paused;
    constructor(options?: ListReporterOptions & CommonReporterOptions & TerminalReporterOptions);
    onBegin(suite: Suite): void;
    onTestBegin(test: TestCase, result: TestResult): void;
    onStdOut(chunk: string | Buffer, test?: TestCase, result?: TestResult): void;
    onStdErr(chunk: string | Buffer, test?: TestCase, result?: TestResult): void;
    private getStepIndex;
    onStepBegin(test: TestCase, result: TestResult, step: TestStep): void;
    onStepEnd(test: TestCase, result: TestResult, step: TestStep): void;
    private _maybeWriteNewLine;
    private _updateLineCountAndNewLineFlagForOutput;
    private _dumpToStdio;
    onTestPaused(test: TestCase, result: TestResult): Promise<void>;
    onTestEnd(test: TestCase, result: TestResult): void;
    private _updateTestLine;
    private _updateOrAppendLine;
    private _appendLine;
    private _updateLine;
    private _updateLineForTTY;
    private _testPrefix;
    private _retrySuffix;
    onError(error: TestError): void;
    onEnd(result: FullResult): Promise<void>;
}
export default ListReporter;
//# sourceMappingURL=list.d.ts.map