import { VrtOptions } from "../types.mjs"; import { Plugin } from "vite"; //#region src/vitest-plugin/index.d.ts /** * Vitest plugin that injects the per-story screenshot capture into the * project. Add it to the SAME Vitest project as `storybookTest()` from * `@storybook/addon-vitest`: * * ```ts * projects: [{ * plugins: [storybookTest({ ... }), vrt()], * test: { browser: { ... } }, * }] * ``` * * Disabled runs (default: `VRT` env var unset) inject nothing, so a plain * `vitest run` keeps zero overhead. */ declare function vrt(options?: VrtOptions): Plugin; //#endregion export { vrt };