import { TApiMiddleware, IContext, TNext } from "../interfaces"; export declare const getClass: (target: any) => any; export declare const getClassOrSymbol: (target: any) => any; export declare const getClassName: (target: any) => string; export declare const isEmpty: (value: any) => boolean; export declare const isArray: (target: any) => boolean; export declare const descriptorOf: (target: any, propertyKey: string) => PropertyDescriptor; export declare const toArray: (target: any) => any[]; export declare const isJsonString: (str: string) => boolean; export declare const apiDescriptionMapKey: (target: any, propertyKey: any) => string; export declare const createParamsMapKey: (target: any, propertyKey: any) => string; export declare const toAsyncMiddleware: (target: any, middleware: TApiMiddleware, key?: string, cb?: (key: string, ctx: IContext, next: TNext) => any[]) => (ctx: IContext, next: TNext) => Promise; export declare const toErrorAsyncMiddleware: (target: any, middleware: TApiMiddleware, key?: string, cb?: (key: string, err: Error, ctx: IContext) => any[]) => (err: Error, ctx: IContext) => any;