function api.toPromiseMethodimport { api } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { toPromiseMethod } = api; toPromiseMethod<M extends DecorateFn<CodecReturnType<M>>>(method: M, options?: DecorateMethodOptions): StorageEntryPromiseOverloadsType ParametersM extends DecorateFn<CodecReturnType<M>>Parametersmethod: Moptionaloptions: DecorateMethodOptionsReturnsStorageEntryPromiseOverloads