//#region src/vitest-plugin.d.ts /** * Vitest plugin that automatically registers AccessLint's afterEach annotation * so that running component tests produces per-story accessibility badges. * * Usage in vitest.config.ts (or the storybook vitest workspace): * * import { storybookTest } from "@storybook/addon-vitest/vitest-plugin"; * import { accesslintTest } from "@accesslint/storybook-addon/vitest-plugin"; * * export default defineConfig({ * plugins: [storybookTest(), accesslintTest()], * }); */ interface AccessLintTestOptions { /** * Tags-based filtering for which stories to audit. * * accesslintTest({ tags: { skip: ["skip-accesslint"] } }) * * Stories with any of the `skip` tags will not be audited. */ tags?: { skip?: string[]; }; } declare function accesslintTest(options?: AccessLintTestOptions): { name: string; config: () => Record; }; //#endregion export { AccessLintTestOptions, accesslintTest };