import { MiningStatusE } from '@dodoex/api';
import { OperateType } from '../../types';
export declare function useOperateHooks({ id, status, handleGotoDetail, }: {
    id: string;
    status: MiningStatusE;
    handleGotoDetail?: () => void;
}): {
    shareModalVisible: boolean;
    setShareModalVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    operateType: OperateType;
    setOperateType: import("react").Dispatch<import("react").SetStateAction<OperateType>>;
    onClickOperateButton: (type: OperateType) => void;
    onClickCard: () => void;
    onCloseOnOperate: () => void;
    onCloseOnDetail: () => void;
    onClickOnDetail: (type: OperateType) => void;
};
