import { Interface, FunctionFragment, EventFragment } from 'ethers'; /** * Fetch contract ABI from block explorer API */ export declare function fetchABIFromExplorer(contractAddress: string, chainId: number, apiKey?: string): Promise; /** * Create an Interface from ABI */ export declare function createInterfaceFromABI(abi: any[]): Interface; /** * Get function fragment from ABI by signature */ export declare function getFunctionFragment(iface: Interface, signature: string): FunctionFragment | null; /** * Get event fragment from ABI by signature */ export declare function getEventFragment(iface: Interface, signature: string): EventFragment | null; /** * Clear ABI cache */ export declare function clearABICache(): void; //# sourceMappingURL=abi-fetcher.d.ts.map