import { AnyFunction } from "../../types/types"; import { ApiTypes, MethodResult } from './base'; export declare type DecoratedRpcSection = { [Method in keyof Section]: Section[Method] extends AnyFunction ? MethodResult : never; }; export declare type DecoratedRpc = { [Section in keyof AllSections]: DecoratedRpcSection; };