import { fetchCallReadOnlyFunction } from '@stacks/transactions'; import { StringOnly } from '../utils/helpers.mjs'; import { ContractBaseType, ReadonlyFunctionDescriptor, ParameterObjOfDescriptor, ReturnTypeOfDescriptor } from './contractBase.mjs'; import './types.mjs'; type CallReadOnlyFunctionFn = typeof fetchCallReadOnlyFunction; type ExecuteReadonlyCallFn = , F extends StringOnly, Descriptor extends Contracts[T][F]>(contractName: T, functionName: F, args: Descriptor extends ReadonlyFunctionDescriptor ? ParameterObjOfDescriptor : never, options?: { deployerAddress?: string; senderAddress?: string; callReadOnlyFunction?: CallReadOnlyFunctionFn; }) => Promise : never>; declare const executeReadonlyCallFactory: (contracts: T, factoryOptions: { deployerAddress?: string; defaultSenderAddress?: string; callReadOnlyFunction?: CallReadOnlyFunctionFn; }) => ExecuteReadonlyCallFn; export { type CallReadOnlyFunctionFn, type ExecuteReadonlyCallFn, executeReadonlyCallFactory };