import { InvoiceDetails, UseToastReturn } from '@smartinvoicexyz/types';
import { Hex } from 'viem';
import { SimulateContractErrorType, WriteContractErrorType } from './types';
export declare const useDeposit: ({ invoice, amount, hasAmount, paymentType, onTxSuccess, toast, }: {
    invoice: InvoiceDetails;
    amount: bigint;
    hasAmount: boolean;
    paymentType: string;
    onTxSuccess?: () => void;
    toast: UseToastReturn;
}) => {
    handleDeposit: () => Promise<Hex | undefined>;
    isLoading: boolean;
    prepareError: SimulateContractErrorType | null;
    writeError: WriteContractErrorType | null;
};
