import { ResolvedVrtConfig, VrtOptions } from "../types.mjs"; //#region src/node/config.d.ts declare class VrtConfigError extends Error { name: string; } declare function loadConfigFile(cwd: string, explicitPath?: string): VrtOptions | undefined; type ResolveVrtConfigInput = { /** Vitest project root / CLI working directory. */ cwd?: string; /** Options passed inline to the vitest plugin. */ inline?: VrtOptions; /** Options coming from CLI flags (highest precedence). */ cli?: VrtOptions; /** Explicit path to a vrt.config.json (CLI --config). */ configFile?: string; }; /** * Resolves the effective config. Precedence per key: * CLI flags > inline plugin options > vrt.config.json > defaults. */ declare function resolveVrtConfig(input?: ResolveVrtConfigInput): ResolvedVrtConfig; //#endregion export { ResolveVrtConfigInput, VrtConfigError, loadConfigFile, resolveVrtConfig };