import { PlaywrightTestConfig } from '@playwright/test'; /** * Generates a list of playwright projects by scanning the monorepo for packages with an `e2e-tests/` folder. * * @public * * @param options - Optional configuration for the generated Playwright projects. * When provided, `options.channel` controls the browser channel used for tests. * Valid values are listed in the [Playwright documentation](https://playwright.dev/docs/api/class-testoptions#test-options-channel). */ declare function generateProjects(options?: { channel?: string; }): PlaywrightTestConfig['projects']; /** * Calling this at the top of your test file will ensure that tests fail if the browser * logs any errors or if there are any uncaught exceptions. * * @public */ declare function failOnBrowserErrors(): void; export { failOnBrowserErrors, generateProjects };