/**
 * 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 type { JSONReport, JSONReportTestResult } from '@playwright/test/reporter';
import type { TestInfo } from './stable-test-runner';
export { countTimes } from '../config/commonFixtures';
export type RunResult = {
    exitCode: number;
    output: string;
    stdout: string;
    stderr: string;
    outputLines: string[];
    rawOutput: string;
    passed: number;
    failed: number;
    flaky: number;
    skipped: number;
    interrupted: number;
    didNotRun: number;
    report: JSONReport;
    results: JSONReportTestResult[];
};
export type Files = {
    [key: string]: string | Buffer;
};
export declare function writeFiles(testInfo: TestInfo, files: Files, initial: boolean): Promise<any>;
export declare const cliEntrypoint: string;
export type RunOptions = {
    additionalArgs?: string[];
    cwd?: string;
};
export declare const test: any;
export { expect } from './stable-test-runner';
export declare function stripAnsi(str: string): string;
export declare function createImage(width: number, height: number, r?: number, g?: number, b?: number, a?: number): Buffer;
export declare function createWhiteImage(width: number, height: number): Buffer<ArrayBufferLike>;
export declare function paintBlackPixels(image: Buffer, blackPixelsCount: number): Buffer;
export declare function expectTestHelper(result: RunResult): (title: string, expectedStatus: string, status: string, annotations: string[]) => void;
export declare function parseTestRunnerOutput(output: string): {
    output: string;
    outputLines: string[];
    rawOutput: string;
    passed: number;
    failed: number;
    flaky: number;
    skipped: number;
    interrupted: number;
    didNotRun: number;
};
export declare const playwrightCtConfigText: string;
export declare function removeFolders(dirs: string[]): Promise<Error[]>;
//# sourceMappingURL=playwright-test-fixtures.d.ts.map