"use strict";
/**
 * Copyright: (c) Myia SAS 2026.
 * This file and its contents are licensed under the AGPLv3 License.
 * Please see the LICENSE file at the root of this repository
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.onTestTeardown = exports.configureTracer = exports.reset = exports.expect = exports.test = void 0;
// Package entry — what `import ... from '@heal-dev/heal-playwright-tracer'` hits.
//
// The Playwright surface is re-exported so consumers can keep
// `import { test, expect, devices } from '@heal-dev/heal-playwright-tracer'`
// as a drop-in replacement for `@playwright/test`.
var playwright_fixture_1 = require("./application/playwright-fixture");
Object.defineProperty(exports, "test", { enumerable: true, get: function () { return playwright_fixture_1.test; } });
Object.defineProperty(exports, "expect", { enumerable: true, get: function () { return playwright_fixture_1.expect; } });
Object.defineProperty(exports, "reset", { enumerable: true, get: function () { return playwright_fixture_1.reset; } });
// Extension API. Users call `configureTracer(...)` from their
// `playwright.config.ts` to plug in exporters and bindings, and can
// register per-test teardown callbacks at runtime via
// `onTestTeardown(...)`.
var heal_config_1 = require("./application/heal-config");
Object.defineProperty(exports, "configureTracer", { enumerable: true, get: function () { return heal_config_1.configureTracer; } });
Object.defineProperty(exports, "onTestTeardown", { enumerable: true, get: function () { return heal_config_1.onTestTeardown; } });
// Re-export every symbol from @playwright/test so code that imports
// e.g. `devices`, `chromium`, or the `Page`/`Locator` types from our
// package still gets them. The named exports above take precedence
// in module-load order.
__exportStar(require("@playwright/test"), exports);
