1 | export interface File {
|
2 | url: string;
|
3 | type: string;
|
4 | name?: string;
|
5 | }
|
6 | export interface Dictionary {
|
7 | [file: string]: File | Dictionary;
|
8 | }
|
9 | export declare function init(d: Dictionary): Dictionary;
|
10 | export declare function addFile(r: File): void;
|
11 | export declare function getFile(filename: string): File;
|
12 | export declare function mkdir(dirpath: string): void;
|
13 | export declare function exists(dirpath: string): boolean;
|