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