import type { AnyFunction } from '@5ire/types/types'; import type { ApiTypes, DecorateMethod, MethodResult } from '../types'; declare type AnyDeriveSection = Record; declare type AnyDerive = Record; declare type DeriveSection = { [MethodName in keyof Section]: MethodResult; }; export declare type DeriveAllSections = { [SectionName in keyof AllSections]: DeriveSection; }; /** * This is a section decorator which keeps all type information. */ export declare function decorateDeriveSections(decorateMethod: DecorateMethod, derives: AnyDerive): DeriveAllSections; export {};