import { CanActivate, ExceptionFilter, NestInterceptor, Paramtype, PipeTransform, Type, ValidationPipeOptions } from '@nestjs/common'; import { IApiFilterQueryOptions } from '../decorators'; import { Clazz, Constructor, DeepPartial, Entity, IBaseController, IBaseRequest, IPaginationResponse, PaginationMode } from '../models'; export interface IEndpointProps { disable?: boolean; hidden?: boolean; useBearer?: boolean; useApiKey?: boolean | [boolean, string]; guards?: (CanActivate | Function)[]; pipes?: (PipeTransform | Function)[]; hooks?: (NestInterceptor | Function)[]; filters?: (ExceptionFilter | Function)[]; decorators?: MethodDecorator[]; } export interface IControllerProps extends IEndpointProps { dto: Constructor; dtoName?: string; customDto?: { queryDto?: Constructor> | Clazz; createDto?: Constructor> | Clazz; updatedDto?: Constructor> | Clazz; paginationDto?: Constructor>; }; paginationMode?: PaginationMode; tag?: string; paginate?: IEndpointProps & { search?: boolean; } & IApiFilterQueryOptions; detail?: IEndpointProps; create?: IEndpointProps; update?: IEndpointProps; delete?: IEndpointProps; pipeOpts?: ValidationPipeOptions & { metadataTypes?: Paramtype[]; }; } export declare const BaseController: (props: IControllerProps) => Type>; //# sourceMappingURL=base.controller.d.ts.map