import { BodyparserBaseOptions } from './bodyparser-base-options.js'; import { BodyparserConfig as BodyparserConfigContract } from '@supercharge/contracts'; export declare class BodyparserMultipartOptions extends BodyparserBaseOptions { /** * The bodyparser multipart options object. */ protected readonly config: BodyparserConfigContract['multipart']; /** * Create a new instance. */ constructor(config: BodyparserConfigContract['multipart']); /** * Returns the multipart file size limit in bytes for a single file. */ maxFileSize(): number; /** * Returns the multipart file size limit in bytes for all uploaded files. */ maxTotalFileSize(): number; /** * Returns the maximun number of allowed fields in the multipart body. */ maxFields(): number; }