import type { Codec } from '@polkadot/types/types'; import type { DecorateFn } from '../types/index.js'; export declare function toRxMethod>(method: M): M;