/**
 * 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 { config } from './common';
import type { PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, TestType } from '../types/test';
import type { Playwright as PlaywrightImpl } from '../../playwright-core/src/client/playwright';
import type { BrowserContext, BrowserContextOptions, LaunchOptions } from 'playwright-core';
export { expect } from './matchers/expect';
export declare const _baseTest: TestType<{}, {}>;
type TestFixtures = PlaywrightTestArgs & PlaywrightTestOptions & {
    _combinedContextOptions: BrowserContextOptions;
    _setupContextOptions: void;
    _setupArtifacts: void;
    _decorateContext: (context: BrowserContext) => Promise<void>;
    _contextFactory: (options?: BrowserContextOptions) => Promise<{
        context: BrowserContext;
        close: () => Promise<void>;
    }>;
};
type WorkerFixtures = PlaywrightWorkerArgs & PlaywrightWorkerOptions & {
    playwright: PlaywrightImpl;
    _browserOptions: LaunchOptions;
    _optionContextReuseMode: config.ContextReuseMode;
    _optionConnectOptions: PlaywrightWorkerOptions['connectOptions'];
    _reuseContext: boolean;
};
type UtilityTestFixtures = Pick<TestFixtures, 'testIdAttribute' | 'request' | '_combinedContextOptions' | '_setupArtifacts' | '_decorateContext'>;
type UtilityWorkerFixtures = Pick<WorkerFixtures, 'playwright' | 'screenshot' | 'trace'>;
export declare const _utilityTest: TestType<UtilityTestFixtures, UtilityWorkerFixtures>;
export declare const test: TestType<UtilityTestFixtures & PlaywrightTestArgs & PlaywrightTestOptions & {
    _combinedContextOptions: BrowserContextOptions;
    _setupContextOptions: void;
    _setupArtifacts: void;
    _decorateContext: (context: BrowserContext) => Promise<void>;
    _contextFactory: (options?: BrowserContextOptions) => Promise<{
        context: BrowserContext;
        close: () => Promise<void>;
    }>;
}, UtilityWorkerFixtures & PlaywrightWorkerArgs & PlaywrightWorkerOptions & {
    playwright: PlaywrightImpl;
    _browserOptions: LaunchOptions;
    _optionContextReuseMode: config.ContextReuseMode;
    _optionConnectOptions: PlaywrightWorkerOptions["connectOptions"];
    _reuseContext: boolean;
}>;
export { defineConfig, mergeTests } from './common';
export { mergeExpects } from './matchers/expect';
//# sourceMappingURL=index.d.ts.map