import { BodyparserBaseOptions } from './bodyparser-base-options'; 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. * * @param {BodyparserConfigContract['multipart']} config */ constructor(config: BodyparserConfigContract['multipart']); /** * Returns the multipart body file size limit in bytes. * * @returns {Number} */ maxFileSize(): number; /** * Returns the maximun number of allowed fields in the multipart body. * * @returns {Number} */ maxFields(): number; }