import Contract from '../artifacts/Contract'; import { TxParams } from '../artifacts/ZWeb3'; export default class ProxyAdmin { contract: Contract; address: string; txParams: TxParams; static fetch(address: string, txParams?: TxParams): ProxyAdmin; static deploy(txParams?: TxParams): Promise; constructor(contract: any, txParams?: TxParams); getProxyImplementation(proxyAddress: string): Promise; changeProxyAdmin(proxyAddress: string, newAdmin: string): Promise; upgradeProxy(proxyAddress: string, implementationAddress: string, contract: Contract, initMethodName: string, initArgs: any): Promise; transferOwnership(newAdminOwner: string): Promise; getOwner(): Promise; private checkOwner; private _upgradeProxy; private _upgradeProxyAndCall; }