1 | import { FileTypeValidatorOptions } from './file-type.validator';
|
2 | import { FileValidator } from './file-validator.interface';
|
3 | import { MaxFileSizeValidatorOptions } from './max-file-size.validator';
|
4 | import { ParseFileOptions } from './parse-file-options.interface';
|
5 | import { ParseFilePipe } from './parse-file.pipe';
|
6 |
|
7 |
|
8 |
|
9 | export declare class ParseFilePipeBuilder {
|
10 | private validators;
|
11 | addMaxSizeValidator(options: MaxFileSizeValidatorOptions): this;
|
12 | addFileTypeValidator(options: FileTypeValidatorOptions): this;
|
13 | addValidator(validator: FileValidator): this;
|
14 | build(additionalOptions?: Omit<ParseFileOptions, 'validators'>): ParseFilePipe;
|
15 | }
|