import { NitroTestOptions } from "./types.mjs"; import { ViteUserConfig } from "vitest/config"; //#region src/config.d.ts interface NitroTestConfig { /** * Whether to add the Nitro source directory to rerun tests when source files change. * * @default true */ rerunOnSourceChanges?: boolean; /** * Options for a global Nitro server instance for all tests. * Set to `true` to enable with default options. */ global?: boolean | NitroTestOptions; } interface ResolvedNitroTestConfig { rerunOnSourceChanges: boolean; global?: NitroTestOptions; } declare function defineConfig(userConfig?: ViteUserConfig, testConfig?: NitroTestConfig): Promise; //#endregion export { NitroTestConfig, ResolvedNitroTestConfig, defineConfig };