import 'hardhat/types/config'; import 'hardhat/types/runtime'; import {TenderlyConfig} from './types'; declare module 'hardhat/types/runtime' { export interface HardhatRuntimeEnvironment { tenderly: { verify: (...contracts) => Promise; push: (...contracts) => Promise; persistArtifacts: (...contracts) => Promise; }; tenderlyRPC: { verify: (...contracts) => Promise; resetFork: () => string | undefined; getHead: () => string | undefined; setHead: (head: string | undefined) => void; getFork: () => string | undefined; setFork: (fork: string | undefined) => void; }; } } declare module 'hardhat/types/config' { export interface HardhatUserConfig { tenderly?: TenderlyConfig; } export interface HardhatConfig { tenderly: TenderlyConfig; } }