import type { TestsStream } from "./types.js"; import type { ChainType } from "../../../types/network.js"; import type { SolidityTestProfileConfig } from "../../../types/test.js"; import type { SolidityTestRunnerConfigArgs, Artifact, ObservabilityConfig } from "@nomicfoundation/edr"; import type { Writable } from "node:stream"; interface SolidityTestConfigParams { chainType: ChainType; projectRoot: string; hardfork?: string; config: Omit; verbosity: number; observability?: ObservabilityConfig; testPattern?: string; excludeTestPattern?: string; generateGasReport: boolean; eip712CanonicalTypes?: string[]; testSourcePaths?: Record; testProfile?: string; declaredTestProfiles?: string[]; } export declare function solidityTestConfigToSolidityTestRunnerConfigArgs({ chainType, projectRoot, hardfork, config, verbosity, observability, testPattern, excludeTestPattern, generateGasReport, eip712CanonicalTypes, testSourcePaths, testProfile, declaredTestProfiles, }: SolidityTestConfigParams): Promise; export declare function isTestSuiteArtifact(artifact: Artifact): boolean; /** * Writes the test reporter's output to `output` and waits for the test run to * complete, returning the error that failed it, if any. * * @param runStream The runner's stream of test events. * @param reporterStream The reporter's stream of output, composed from * `runStream`. * @param output Where the reporter's output is written to. * @returns The error that failed the run, or `undefined` if it succeeded. */ export declare function writeTestRunOutput(runStream: TestsStream, reporterStream: NodeJS.ReadableStream, output: Writable): Promise; export declare function warnDeprecatedTestFail(artifact: Artifact, sourceNameToUserSourceName: Map): void; export {}; //# sourceMappingURL=helpers.d.ts.map