import { File, FileDefinition } from "./file"; import { Directory, DirectoryDefinition } from "./directory"; export declare type PathDefinition = FileDefinition | DirectoryDefinition; export declare type PathDefinitions = { [key: string]: PathDefinition; }; declare type Path = File | Directory; export declare type Paths = { [key: string]: Path; }; export declare type PathFields = { name: string; path: string; relative: string; exists: () => Promise; }; export declare function definePaths(definitions: PathDefinitions, parent?: string): Paths; export declare function getPathFields({ name }: FileDefinition, parent: string): PathFields; export {};