export type DirectoryContent = string | Buffer | null; export interface DirectoryJSON { [key: string]: T; } export interface NestedDirectoryJSON { [key: string]: T | NestedDirectoryJSON; } export declare const flattenJSON: (nestedJSON: NestedDirectoryJSON) => DirectoryJSON;