function convertWeightimport { convertWeight } from "https://deno.land/x/polkadot@0.2.27/api-contract/base/util.ts"; convertWeight(weight: | WeightV1 | WeightV2 | bigint | string | number | BN): WeightAllParametersweight: | WeightV1 | WeightV2 | bigint | string | number | BNReturnsWeightAll