import { Any, CreateApiParams, ErrorHandler, Schemas } from './types';
export declare function API<Q extends Any = Any, P extends Any = Any, B extends Any = Any, C extends Any = Any>(schemas?: Schemas<Q, P, B, C>, errorHandlers?: ErrorHandler[]): (_target: any, _propertyKey: string, descriptor: PropertyDescriptor) => TypedPropertyDescriptor<any>;
export declare function createAPIDecorator({ middlewares, errorHandlers }?: CreateApiParams): (schema?: Schemas, localErrorHandlers?: ErrorHandler[]) => (_target: any, _propertyKey: string, descriptor: PropertyDescriptor) => TypedPropertyDescriptor<any>;
