import type { ContractNameType } from "../../types";
import { LandId } from "../../config/constants";
export { getContractAddressAndAbiByContractName } from "../ethers/contractHelper";
export declare const getContract: (signerOrProvider: any, contractAddress: string, contractInterface?: any) => Promise<any>;
export declare const getContractByContractName: (landId: LandId, signerOrProvider: any, contractName: ContractNameType) => Promise<any>;
export declare type ErrorCallbackType = (err: {
    error: unknown;
}) => void;
export declare type ResponseCallbackType = (response: {
    transactionHash: string;
}) => void;
export declare type SuccessCallbackType = (receipt: {
    transactionHash: string;
}) => void;
export declare type CallbackType = {
    errorCallback: ErrorCallbackType;
    responseCallback?: ResponseCallbackType;
    successCallback?: SuccessCallbackType;
};
export declare type TriggerOverrides = {
    feeLimit?: any;
    callValue?: any;
    shouldPollResponse?: boolean;
    tokenId?: string;
    tokenValue?: any;
};
export declare const triggerContract: (contract: any, methodName: string, contractArgs?: unknown[], callback?: CallbackType, overrides?: TriggerOverrides | undefined) => Promise<any>;
export declare const triggerContractByContractName: (landId: LandId, signerOrProvider: any, contractName: ContractNameType, methodName: string, contractArgs?: unknown[], callback?: CallbackType, overrides?: TriggerOverrides | undefined) => Promise<any>;
export declare const viewContract: (contract: any, methodName: string, contractArgs?: unknown[], callback?: CallbackType) => Promise<any>;
export declare const viewContractByContractName: (landId: LandId, tronWeb: any, contractName: ContractNameType, methodName: string, contractArgs?: unknown[], callback?: CallbackType) => Promise<any>;
