import { HardhatRuntimeEnvironment } from 'hardhat/types'; declare module 'mocha' { interface Context { hre: HardhatRuntimeEnvironment; } } export declare function useEnvironmentWithLocalSetup(fixtureProjectName: string, networkName?: string): void; /** * Call `method` as: * - A write transaction * - A view method * - A gas estimation * - A static call * And run the `successfulAssert` function with the result of each of these * calls. Since we expect this assertion to be successful, we just await its * result; if any of them fails, an error will be thrown. */ export declare function runSuccessfulAsserts({ matchers, method, args, successfulAssert, }: { matchers: any; method: string; args?: any[]; successfulAssert: (x: any) => Promise; }): Promise; /** * Similar to runSuccessfulAsserts, but check that the result of the assertion * is an AssertionError with the given reason. */ export declare function runFailedAsserts({ matchers, method, args, failedAssert, failedAssertReason, }: { matchers: any; method: string; args?: any[]; failedAssert: (x: any) => Promise; failedAssertReason: string; }): Promise; //# sourceMappingURL=helpers.d.ts.map