1 |
|
2 | export class FileList {
|
3 |
|
4 | constructor(...args: any[]);
|
5 | /**
|
6 | * @param {number} index
|
7 | * @returns {File}
|
8 | */
|
9 | item(index: number): File;
|
10 |
|
11 | get length(): number;
|
12 |
|
13 | readonly [Symbol.toStringTag]: "FileList";
|
14 | #private;
|
15 | }
|
16 | export default filelist;
|
17 | declare namespace filelist {
|
18 | const file: {
|
19 | test(x: any): boolean;
|
20 | replace(f: any): any;
|
21 | revive({ name, type, buffer, lastModified }: {
|
22 | name: any;
|
23 | type: any;
|
24 | buffer: any;
|
25 | lastModified: any;
|
26 | }): File;
|
27 | replaceAsync(f: any): any;
|
28 | };
|
29 | namespace filelist {
|
30 | function test(x: any): boolean;
|
31 | function test(x: any): boolean;
|
32 | function replace(fl: any): any[];
|
33 | function replace(fl: any): any[];
|
34 | function revive(o: any): FileList;
|
35 | function revive(o: any): FileList;
|
36 | }
|
37 | }
|