import { BranchLink, CommitLink } from "./audits"; export type EtherscanSourceCodeResp = { status: "1"; message: "OK"; result: EtherscanContract[]; } | { status: "0"; message: "NOTOK"; result: string; }; export interface EtherscanContract { SourceCode: string; ABI: string; ContractName: string; CompilerVersion: string; OptimizationUsed: string; Runs: string; ConstructorArguments: string; EVMVersion: string; Library: string; LicenseType: string; Proxy: string; Implementation: string; SwarmSource: string; } export interface VerifyRequest { address: string; constructorArguments: Array; } export interface EtherscanSource { sources: Record; } export interface ReportVerificationResult { audit?: CommitLink | BranchLink; identical?: boolean; githubUrl: string; } export interface ContractCheckResult { contract: string; reportsVerificationResult: Array; } export interface FullContractAndImportsResult { contractName: string; sources: Array; } export type GithubCheckResponse = (FullContractAndImportsResult & { found: true; }) | { found: false; }; export declare class GithubChecker { protected readonly _audits: import("./audits").Audits; protected readonly baseURL = "https://risk.gearbox.foundation"; compareWithGithub(address: string): Promise; protected getGithubSource(url: string): Promise; protected _baseUrl(networkName: string): String; }