import type { Config } from "@jest/types"; import type { ExtraConfigs } from "./config.js"; /** * This configuration adds the `jest-environment-jsdom` test environment to the * base config, and sets up `@testing-library/jest-dom`. * * @example * ```js * // jest.config.js * export { web as default } from "@cprussin/jest-config/web"; * ``` * * @example * ```js * // jest.config.js * import { web } from "@cprussin/jest-config/web"; * export default web({ * global: { * config: { * passWithNoTests: true * } * } * }) * ``` * * @param extra - extensions and wrappers for the projects and global jest config * @returns the jest config */ export declare const web: (extra?: ExtraConfigs) => Promise;