import type { ViteDevServer } from 'vite'; import type { JsonSerializable, NormalizedConfig } from '../types.js'; import type { TestPoolManager } from '../test_pool_manager.js'; /** * Creates the Vite plugin responsible for generating the Lupa test harness HTML. * Exported for testing purposes. */ export default function harnessPlugin(poolManager: TestPoolManager, resolvedPlugins: (JsonSerializable | undefined)[][], runnerConfig: NormalizedConfig, harnessPath: string): { name: string; configureServer(server: ViteDevServer): void; };