import { TLSConnector } from '../tls-connector'; import { Hash } from "../../../../types/web3"; import { Contract } from "../../../contract"; export interface CallContractParams { contract: Contract; from: string; methodName: string; args?: any[]; callData?: string; aesKey?: string; encrypt?: boolean; encryptType?: '02'; publicKey?: string; } export interface CallContractResult { msg_type: number; sequence: number; return_code: number; group_id: string; hash: Hash; api: 'CallContract'; } export declare function callContract(params: CallContractParams, connector: TLSConnector): Promise;