import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common'; import { Observable } from 'rxjs'; export declare type FastifyUploadedFile = { filename: string; path: string; mimetype: string; encoding: string; }; export declare type FastifyUploadedFileRequest = /* FastifyRequest & */ any & { file: FastifyUploadedFile; files: FastifyUploadedFile[]; }; export declare class FastifyFileInterceptor implements NestInterceptor { private readonly field; constructor(field: string); intercept(context: ExecutionContext, next: CallHandler): Observable | Promise>; }