import type { PackageManagerSelection, ReportFormat, Writer } from "@barney-media/crap-typescript-core"; type VitestReporterEntry = string | [string, unknown] | { onTestRunEnd?: () => Promise; onFinishedReportCoverage?: () => Promise; }; type VitestConfig = Record & { test?: Record & { coverage?: Record & { enabled?: boolean; provider?: string; reporter?: Array | string; reportsDirectory?: string; }; reporters?: VitestReporterEntry[] | VitestReporterEntry; }; }; export interface CrapTypescriptVitestOptions { projectRoot?: string; changedOnly?: boolean; paths?: string[]; packageManager?: PackageManagerSelection; coverageReportPath?: string; threshold?: number; format?: ReportFormat; agent?: boolean; failuresOnly?: boolean; omitRedundancy?: boolean; output?: string; junit?: boolean; junitReport?: string; stdout?: Writer; stderr?: Writer; excludes?: string[]; excludePathRegexes?: string[]; excludeGeneratedMarkers?: string[]; useDefaultExclusions?: boolean; } export declare class CrapTypescriptVitestReporter { private readonly options; constructor(options?: CrapTypescriptVitestOptions); onFinishedReportCoverage(): Promise; } export declare function withCrapTypescriptVitest(config?: VitestConfig, options?: CrapTypescriptVitestOptions): VitestConfig; export {}; //# sourceMappingURL=index.d.ts.map