import type { ViteNodeServerOptions } from 'vite-node'; export interface RunViteNodeOptions { root?: string; config?: string; watch?: boolean; options?: ViteNodeServerOptionsCLI; static?: boolean; '--'?: string[]; } export type ViteNodeServerOptionsCLI = ComputeViteNodeServerOptionsCLI; type Optional = T | undefined; type ComputeViteNodeServerOptionsCLI> = { [K in keyof T]: T[K] extends Optional ? string[] : T[K] extends Optional<(string | RegExp)[]> ? string[] : T[K] extends Optional<(string | RegExp)[] | true> ? string[] | true : T[K] extends Optional> ? ComputeViteNodeServerOptionsCLI : T[K]; }; export interface RunViteNodeEnv { readonly cwd: string; readonly outputHelp: () => void; } export declare function runViteNode(files: string[], options: RunViteNodeOptions, env: RunViteNodeEnv): Promise; export {}; //# sourceMappingURL=runViteNode.d.ts.map