import { FileValidator } from './file-validator.interface'; import { IFile } from './interfaces'; export type MaxFileSizeValidatorOptions = { maxSize: number; message?: string | ((maxSize: number) => string); }; /** * Defines the built-in MaxSize File Validator * * @see [File Validators](https://docs.nestjs.com/techniques/file-upload#file-validation) * * @publicApi */ export declare class MaxFileSizeValidator extends FileValidator { buildErrorMessage(): string; isValid(file?: IFile): boolean; }