import type { NestInterceptor, Type } from '@nestjs/common';
import type { MultipartOptions } from '../interfaces/index.js';
/**
 * Accepts a single file in `fieldName` and exposes it as `req.file`
 * (`@UploadedFile()`), with the text fields in `req.body`. The Fastify
 * counterpart of platform-express's `FileInterceptor`.
 *
 * Requires the `@fastify/multipart` package, which the FastifyAdapter
 * registers as a plugin when an upload interceptor is used (see its
 * `multipart` option).
 *
 * @param fieldName name of the form field that carries the file
 * @param localOptions options merged over the `MultipartModule` defaults
 *
 * @publicApi
 */
export declare function FileInterceptor(fieldName: string, localOptions?: MultipartOptions): Type<NestInterceptor>;
