import type { AccountId } from '@polkadot/types/interfaces/types' ; import type BN from 'bn.js' ; import type { Signer } from 'redspot/types' ; import 'redspot/types/runtime' ; import type Contract from './contract' ; import type ContractFactory from './contractFactory' ; import type { SignerOptions } from '@polkadot/api/types' ; import { SubmittableExtrinsic } from '@polkadot/api/types' ; import type { Registry } from '@polkadot/types/types' ; import type { TransactionResponse } from './types' ; declare module 'redspot/types/runtime' { interface RuntimeEnvironment { patract : { Contract : Contract ; ContractFactory : ContractFactory ; param contractName param address param signer returns getContractAt ( contractName , address , signer ? ) : Promise < Contract > ; param contractName param signer returns getContractFactory ( contractName , signer ? ) : Promise < ContractFactory > ; param from param amount returns getRandomSigner ( from ? , amount ? ) : Promise < Signer > ; param registry param extrinsic param signer param options returns buildTx ( registry , extrinsic , signer , options ? ) : Promise < TransactionResponse > ; } ; } }