import type { ExactDerive } from '@polkadot/api-derive'; import type { AnyFunction } from '@polkadot/types/types'; import type { ApiTypes, DecorateMethod, MethodResult } from '../types/index.js'; type AnyDeriveSection = Record; type AnyDerive = Record; type DeriveSection = { [M in keyof Section]: MethodResult; }; export type AllDerives = { [S in keyof ExactDerive]: DeriveSection; }; /** * This is a section decorator which keeps all type information. */ export declare function decorateDeriveSections(decorateMethod: DecorateMethod, derives: AnyDerive): AllDerives; export {};