import { A11yOptions, A11yResult, ArtFileInfo, MuseaVrtRunner$1 as MuseaVrtRunner } from "./vrt-Vb4aqPZE.js";
import { Page } from "playwright";

//#region src/a11y.d.ts
/**
* A11y audit summary.
*/

/**
 * A11y audit summary.
 */
interface A11ySummary {
  totalComponents: number;
  totalVariants: number;
  totalViolations: number;
  criticalCount: number;
  seriousCount: number;
  moderateCount: number;
  minorCount: number;
}
/**
 * A11y runner using axe-core via Playwright.
 */
declare class MuseaA11yRunner {
  private options;
  constructor(options?: A11yOptions);
  /**
   * Run a11y audits on all art file variants.
   * Reuses VRT runner's browser if available.
   */
  runAudits(artFiles: ArtFileInfo[], baseUrl: string, vrtRunner?: MuseaVrtRunner): Promise<A11yResult[]>;
  /**
   * Audit a single page using axe-core.
   */
  auditPage(page: Page, artPath: string, variantName: string): Promise<A11yResult>;
  /**
   * Get summary statistics from results.
   */
  getSummary(results: A11yResult[]): A11ySummary;
  /**
   * Generate HTML report.
   */
  generateHtmlReport(results: A11yResult[]): string;
  /**
   * Generate JSON report for CI integration.
   */
  generateJsonReport(results: A11yResult[]): string;
  /**
   * Get axe-core source code for injection.
   */
  private getAxeSource;
  /**
   * Build axe-core run options from configuration.
   */
  private buildAxeOptions;
  private buildVariantUrl;
} //#endregion

//# sourceMappingURL=a11y.d.ts.map
export { A11ySummary, MuseaA11yRunner as MuseaA11yRunner$1 };
//# sourceMappingURL=a11y-Bvx5TJb8.d.ts.map