export default function copyContract(oldContractId: number | string, user: User): Promise;