import { JsonFragment } from '@ethersproject/abi'; import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { SourceUnit } from 'solidity-ast'; interface AbiMap { [contractFullyQualifiedName: string]: ReadonlyArray; } /** * Check if the given contract path is inside the sources folder. */ export declare function contractIsInSources(contractSourcePath: string, hre: HardhatRuntimeEnvironment): boolean; /** * Get a list of all the contracts fully qualified names that are present or imported * on the local contracts/ folder. * It can include a whitelist filter by contractName, contractSource, * or if its included in a given folder. */ export declare function getContractsFullyQualifiedNames(hre: HardhatRuntimeEnvironment, patterns?: string[]): Promise; /** * Filter the given contracts using multimatch. It can include a whitelist filter * by contractName, contractSource, or if its included in a given folder. */ export declare function filterContracts(contracts: string[], patterns?: string[]): string[]; export declare function getContractsAbis(hre: HardhatRuntimeEnvironment, patterns: string[]): Promise; export declare function getContractAst(hre: HardhatRuntimeEnvironment, contractFullyQualifiedName: string): Promise; export declare function getContractsAsts(hre: HardhatRuntimeEnvironment, fqNames: string[]): Promise; export {}; //# sourceMappingURL=contracts.d.ts.map