import { AnyFunction } from "../../types/types"; import { ApiTypes, DecorateMethod, MethodResult } from '../types'; 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 decorateSections(allSections: AllSections, decorateMethod: DecorateMethod): DeriveAllSections; export {};