import BigNumber from 'bignumber.js';
import { Metadata } from '../../../../hooks/Submission/types';
import { MiningLpTokenI, MiningMiningI, OperateDataProps, TabMiningI } from '../../types';
export declare function useDepositOrWithdrawOrClaim({ version, miningContractAddress, stakeTokenAddress, id, source, lpTokenAccountStakedBalance, selectedStakeTokenIndex, operateType, lpToken, stakeSuccessCallback, unstakeSuccessCallback, claimSuccessCallback, }: {
    lpTokenAccountStakedBalance: BigNumber | undefined;
    miningContractAddress: MiningMiningI['miningContractAddress'];
    selectedStakeTokenIndex: 0 | 1;
    operateType: OperateDataProps['operateType'];
    lpToken: MiningLpTokenI;
    stakeSuccessCallback?: () => void;
    unstakeSuccessCallback?: () => void;
    claimSuccessCallback?: () => void;
} & Pick<TabMiningI, 'version' | 'stakeTokenAddress' | 'source' | 'id'>): {
    depositOrWithdrawOrClaimMutation: import("@tanstack/react-query").UseMutationResult<import("../../../../hooks/Submission/types").ExecutionResult | undefined, Error, {
        amount: BigNumber;
        withdrawAll?: boolean;
        submitCallback?: () => void;
        canceledCallback?: () => void;
        failedCallback?: () => void;
        metadata?: Metadata;
    }, unknown>;
};
