import type { ContractCtrlWriteArgs } from '@web3modal/core';
export declare function useContractWrite(args: ContractCtrlWriteArgs): {
    write: (newArgs?: import("@wagmi/core").PrepareWriteContractConfig<import("ethers").Signer> | undefined) => Promise<(import("@wagmi/core").SendTransactionResult | null) | undefined>;
    data: import("@wagmi/core").SendTransactionResult | undefined;
    isLoading: boolean;
    error: Error | undefined;
};
