import type { ViteUserConfig, UserWorkspaceConfig } from 'vitest/config'; import type { VitestConfig } from '../core/config/schema.js'; import type { ResolvedModule } from '../workspace/discover.js'; /** * Build the full vitest UserConfig from pipework.config.ts. * * The generated `vitest.config.ts` is a single line: `defineConfig(await resolveVitestConfig())`. * Everything that would normally live in `vitest.config.ts` — projects, reporters, sequencer, * outer-level Vite options — flows through `pipework.config.ts` so pipework remains the single * source of truth and the generated file stays byte-stable for `pipework check`. * * Shape: * - `vitest.extra.test.*` → spread into `test` (reporters, sequence, cache, bail, ...) * - `vitest.extra.*` (anything outside `test`) → spread at the top level (resolve, plugins, ...) * - `test.projects` is owned by pipework — defining it in `extra` throws. */ export declare function resolveVitestConfig(cwd?: string): Promise; export declare function resolveVitestModules(vitestConfig: VitestConfig, resolvedModules: ResolvedModule[], configDir: string, workspacePackages: Record): UserWorkspaceConfig[]; //# sourceMappingURL=vitest-workspace.d.ts.map