/** * 处理器结果参数装饰器 * 用于获取在装饰器中配置的处理器执行结果 * * @example * ```typescript * @Post('upload/pdf') * @FileUpload({ * types: [FileType.PDF], * processor: 'pdf-text' * }) * async uploadPdf( * @UploadedFile() file: Express.Multer.File, * @ProcessResult() result: { text: string; pageCount: number } * ) { * return { url: file.path, text: result.text }; * } * ``` */ export declare const ProcessResult: (...dataOrPipes: unknown[]) => ParameterDecorator; /** * 自定义处理器参数装饰器 * 用于在参数级别指定处理器并获取结果 * * @example * ```typescript * @Post('upload/pdf') * @FileUpload({ types: [FileType.PDF] }) * async uploadPdf( * @UploadedFile() file: Express.Multer.File, * @Process('pdf-text', { extractImages: true }) result: any * ) { * return { url: file.path, text: result.text }; * } * ``` */ export declare const Process: (...dataOrPipes: (import("@nestjs/common").PipeTransform | import("@nestjs/common").Type> | { name: string; options?: any; })[]) => ParameterDecorator;