import { V as ViteNodeServerOptions } from './index-WT31LSgS.js'; import './trace-mapping.d-xyIfZtPm.js'; interface CliOptions { root?: string; script?: boolean; config?: string; mode?: string; watch?: boolean; options?: ViteNodeServerOptionsCLI; version?: boolean; help?: boolean; '--'?: string[]; } type Optional = T | undefined; type ComputeViteNodeServerOptionsCLI> = { [K in keyof T]: T[K] extends Optional ? string | string[] : T[K] extends Optional<(string | RegExp)[]> ? string | string[] : T[K] extends Optional<(string | RegExp)[] | true> ? string | string[] | true : T[K] extends Optional> ? ComputeViteNodeServerOptionsCLI : T[K]; }; type ViteNodeServerOptionsCLI = ComputeViteNodeServerOptionsCLI; export type { CliOptions, ViteNodeServerOptionsCLI };