import type { TestRunResult, TestSuiteResult } from './result'; interface RunTestParams { testPath: string; testNamePattern?: RegExp; /** When true, accumulates a node evaluation hit map and sourceMap for coverage reporting. */ coverage?: boolean; } /** * Runs a .test.dvala file and returns structured results. * The runner is format-agnostic — use formatTap() or other formatters to render output. */ export declare function runTestFile({ testPath: filePath, testNamePattern, coverage }: RunTestParams): Promise; /** * Legacy API — runs a test file and returns TAP output. * Used by the CLI and vitest integration. */ export declare function runTest(params: RunTestParams): Promise<{ tap: string; success: boolean; }>; /** * Discover and run all test files matching a glob pattern. * Used by `dvala test` (no args) with dvala.json config. */ export declare function runTestSuite(rootDir: string, testGlob: string, testNamePattern?: RegExp, coverage?: boolean): Promise; export {};