/** * Converts a Solidity panic error code into a human-readable revert message. * * Solidity defines a set of standardized panic codes (0x01, 0x11, etc.) * that represent specific runtime errors (e.g. arithmetic overflow). * This function looks up the corresponding reason string and formats it * into a message similar to what clients like Hardhat or ethers.js display. * * @param errorCode The panic error code returned by the EVM as a bigint. * @returns A formatted message string: * - `"reverted with panic code ()"` if the code is recognized. * - `"reverted with unknown panic code "` if the code is not recognized. */ export declare function panicErrorCodeToMessage(errorCode: bigint): string; //# sourceMappingURL=panic-errors.d.ts.map