import { providers } from 'ethers'; import { ContractInfo, ContractType } from '../../types/base'; import { IApiClient } from '../api-client/interfaces'; export type ContractOptions = { accessTokenCallback?: () => string; apiClient?: IApiClient; ethProvider?: providers.JsonRpcProvider; }; export type CallContractParameterInput = { index: number; value: any; }; export type SubmitTransactionResponse = { txId: string; }; export declare class Contract { readonly id: string; readonly name: string; readonly address: string; readonly chainId: number; readonly type: ContractType; readonly methods: { [key: string]: (parameters: CallContractParameterInput[]) => Promise<{ txId: string; }>; }; protected readonly accessTokenCallback?: () => string; protected readonly apiClient: IApiClient; constructor(info: Omit, opts?: ContractOptions); }