import { EnhancedExecute, MelonTransaction } from './transactionFactory'; import { OptionsOrCallback } from './prepareTransaction'; import { Environment } from '../environment/Environment'; declare type WithAddressQuerySendFunction = (environment: Environment, signedTransactionData: string, params: Args, options?: OptionsOrCallback) => Promise; declare type WithAddressQueryPrepareFunction = (environment: Environment, params?: Args, options?: OptionsOrCallback) => Promise>; export declare type WithAddressQueryExecuteFunction = (environment: Environment, params?: Args, options?: OptionsOrCallback) => Promise; export interface WithAddressQueryExecuteMixin { prepare: WithAddressQueryPrepareFunction; send: WithAddressQuerySendFunction; } export declare type WithAddressQueryExecute = WithAddressQueryExecuteFunction & WithAddressQueryExecuteMixin; export declare type WithContractAddressQuery = (contractAddressQuery: string[], transaction: EnhancedExecute) => WithAddressQueryExecute; /** * Wraps the result of the transaction factory (EnhancedExecute) in helper * functions that do not require to provide contractAddress, but derive this * from the params with the contractAddressQuery * * @param contractAddressQuery * @param transaction */ declare const withContractAddressQuery: WithContractAddressQuery; export { withContractAddressQuery };