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