import { PathLike } from 'fs'; import { DependencyAsset } from '../model'; export type FileRawContent = { fileRef: string; content: string; }; export declare const getFilename: (path: string) => string; export declare const getCleanFilename: (path: string) => string; export declare const removeExtension: (path: string) => string; export declare const extractRootDir: (descriptorPath: PathLike) => string | undefined; export declare const isRootDir: (files: DependencyAsset[], dir: string) => boolean; export declare const relativizePath: (path: string, rootDir: string) => string; export declare const replaceDir: (filePath: string, newDir: string) => string; export declare const changeFileName: (filePath: string, newName: string) => string; export declare const getRootDir: (files: DependencyAsset[], rootCandidate: string) => string; export declare const resolvePathFromFile: (basePath: string, targetPath: string) => string; export declare const getRelativePath: (rootDir: string, path: string) => string; export declare const cleanDuplicatedPath: (rootDir: string, path: string) => string; export declare const enumerateName: (name: string, existingNames: string[]) => string;