1 | import { MultipartFile } from '../src/multipart/file.js';
|
2 | import { FileValidationOptions } from '../src/types.js';
|
3 | type FileFactoryParameters = {
|
4 | fieldName: string;
|
5 | clientName: string;
|
6 | headers: any;
|
7 | size: number;
|
8 | extname: string;
|
9 | type: string;
|
10 | subtype: string;
|
11 | };
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare class MultipartFileFactory {
|
17 | #private;
|
18 | |
19 |
|
20 |
|
21 | merge(params: Partial<FileFactoryParameters>): this;
|
22 | |
23 |
|
24 |
|
25 | create(validationOptions?: Partial<FileValidationOptions>): MultipartFile;
|
26 | }
|
27 | export {};
|