import type { HardhatRuntimeEnvironment } from "hardhat/types/hre"; import type { ReentrancyTestResult, DeployedContract, AttackSimulation } from "../types.js"; /** * Automated reentrancy attack simulation and testing */ export declare class ReentrancyTester { private hre; private forkManager; constructor(hre: HardhatRuntimeEnvironment); /** * Test a contract for reentrancy vulnerabilities */ testReentrancyVulnerability(targetContract: DeployedContract, functionName: string, attackParams?: any[]): Promise; /** * Deploy a generic reentrancy attacker contract */ private deployReentrancyAttacker; /** * Setup the reentrancy attack scenario */ private setupReentrancyAttack; /** * Execute the actual reentrancy attack */ private executeReentrancyAttack; /** * Test multiple functions for reentrancy */ testAllFunctions(contract: DeployedContract): Promise; /** * Get public methods from contract ABI */ private getPublicMethods; /** * Generate default parameters for method inputs */ private generateDefaultParams; /** * Get balance of an address */ private getBalance; /** * Create a standardized reentrancy attack simulation */ createReentrancySimulation(targetFunction: string): AttackSimulation; } //# sourceMappingURL=reentrancy-tester.d.ts.map