import Conf from 'conf'; import { Networks } from './networks'; import { ABIItem, Contract } from '../types'; export declare class ConfigService { config: Conf; constructor(config: Conf); getPrivateKey: (pk: string, networkId: number) => string; updateAbis: (abis: any) => void; getAddresses: () => any; updateAddresses: (addresses: any) => void; getContracts: () => any; updateContracts: (contracts: any) => void; addContract: (name: string, abi: string, address: string) => void; removeContract: (name: string) => boolean; getContract: (name: string) => Maybe<{ abi: string; address: string; }>; getAddress: (name: string, networkId: number) => string; getNetworks: () => Networks; getAbis: () => { [x: string]: object; }; getAbiByName: (name: string) => object | null; getStringAbiByName: (abiName: string) => string | null; getAbiList: () => string[]; updateNetworks: (networks: Networks) => void; loadContract: (contract: string, networkId: number) => Contract; static parseAbiAtAddress: (abiAtAddress: string) => [string, string]; loadABI: (abiPath: string) => { abi: any; name: string; }; getMethodsAndEvents: (abiPath: string) => { signature: string; signatureHash: string; kind: "function" | "event"; }[]; getMethods: (abiPath: string) => { signature: string; signatureHash: string; kind: "function" | "event"; }[]; getEvents: (abiPath: string) => { signature: string; signatureHash: string; kind: "function" | "event"; }[]; static extractMethodsAndEventsFromABI: (abi: ABIItem[]) => { name: string | undefined; inputs: any; kind: "function" | "event"; }[]; } export declare const configService: ConfigService;