import { HookHandler, UserConfig, ConfigEnv } from '@voidzero-dev/vite-plus-core';
export { ConfigEnv, Plugin, UserConfig as ViteUserConfig, mergeConfig } from '@voidzero-dev/vite-plus-core';
import { I as InlineConfig, C as CoverageOptions, F as FieldsWithDefaultValues, U as UserWorkspaceConfig, b as UserProjectConfigFn, c as UserProjectConfigExport } from './chunks/reporters.d.B0uk8id2.js';
export { a as TestProjectConfiguration, d as TestProjectInlineConfiguration, e as TestUserConfig, W as WatcherTriggerPattern } from './chunks/reporters.d.B0uk8id2.js';
import { V as VitestPluginContext } from './chunks/plugin.d.BWbK_Jpw.js';
import { F as FakeTimerInstallOpts } from './chunks/config.d.Cz9kPrQs.js';
export { TestTagDefinition } from './@vitest/runner/index.js';
import './@vitest/utils/index.js';
import './chunks/rpc.d.BFMWpdph.js';
import './@vitest/snapshot/index.js';
import '@voidzero-dev/vite-plus-core/module-runner';
import './chunks/traces.d.402V_yFI.js';
import 'node:stream';
import './chunks/browser.d.BMOr_Kmk.js';
import './chunks/worker.d.BT5j8dyR.js';
import './chunks/environment.d.CrsxCzP1.js';
import './@vitest/pretty-format/index.js';
import './@vitest/utils/diff.js';
import './@vitest/expect/index.js';
import 'vitest/optional-types.js';
import './chunks/benchmark.d.DAaHLpsq.js';
import './@vitest/runner/utils.js';
import './vendor/tinybench.mjs';
import './@vitest/mocker/index.js';
import './@vitest/utils/source-map.js';
import './@vitest/browser/context.js';
import './chunks/coverage.d.BZtK59WP.js';
import './@vitest/snapshot/manager.js';
import 'node:console';
import 'node:fs';

type VitestInlineConfig = InlineConfig;
declare module "@voidzero-dev/vite-plus-core" {
	interface UserConfig {
		/**
		* Options for Vitest
		*/
		test?: VitestInlineConfig;
	}
	interface Plugin<A = any> {
		configureVitest?: HookHandler<(context: VitestPluginContext) => void>;
	}
}

declare const defaultBrowserPort = 63315;

declare const defaultInclude: string[];
declare const defaultExclude: string[];
declare const coverageConfigDefaults: Required<Pick<CoverageOptions, FieldsWithDefaultValues>>;
declare const configDefaults: Readonly<{
	allowOnly: boolean;
	isolate: boolean;
	watch: boolean;
	globals: boolean;
	environment: "node";
	clearMocks: boolean;
	restoreMocks: boolean;
	mockReset: boolean;
	unstubGlobals: boolean;
	unstubEnvs: boolean;
	include: string[];
	exclude: string[];
	teardownTimeout: number;
	forceRerunTriggers: string[];
	update: boolean;
	reporters: never[];
	silent: boolean;
	hideSkippedTests: boolean;
	api: boolean;
	ui: boolean;
	uiBase: string;
	open: boolean;
	css: {
		include: never[];
	};
	coverage: CoverageOptions;
	fakeTimers: FakeTimerInstallOpts;
	maxConcurrency: number;
	dangerouslyIgnoreUnhandledErrors: boolean;
	typecheck: {
		checker: "tsc";
		include: string[];
		exclude: string[];
	};
	slowTestThreshold: number;
	disableConsoleIntercept: boolean;
	detectAsyncLeaks: boolean;
}>;

type ViteUserConfigFnObject = (env: ConfigEnv) => UserConfig;
type ViteUserConfigFnPromise = (env: ConfigEnv) => Promise<UserConfig>;
type ViteUserConfigFn = (env: ConfigEnv) => UserConfig | Promise<UserConfig>;
type ViteUserConfigExport = UserConfig | Promise<UserConfig> | ViteUserConfigFnObject | ViteUserConfigFnPromise | ViteUserConfigFn;
declare function defineConfig(config: UserConfig): UserConfig;
declare function defineConfig(config: Promise<UserConfig>): Promise<UserConfig>;
declare function defineConfig(config: ViteUserConfigFnObject): ViteUserConfigFnObject;
declare function defineConfig(config: ViteUserConfigFnPromise): ViteUserConfigFnPromise;
declare function defineConfig(config: ViteUserConfigExport): ViteUserConfigExport;
declare function defineProject(config: UserWorkspaceConfig): UserWorkspaceConfig;
declare function defineProject(config: Promise<UserWorkspaceConfig>): Promise<UserWorkspaceConfig>;
declare function defineProject(config: UserProjectConfigFn): UserProjectConfigFn;
declare function defineProject(config: UserProjectConfigExport): UserProjectConfigExport;

export { UserProjectConfigExport, UserProjectConfigFn, UserWorkspaceConfig, configDefaults, coverageConfigDefaults, defaultBrowserPort, defaultExclude, defaultInclude, defineConfig, defineProject };
export type { ViteUserConfigExport, ViteUserConfigFn, ViteUserConfigFnObject, ViteUserConfigFnPromise };
