export declare const PATHSEP = "/"; export declare function prettyOrigin(origins: [filename: string, line?: number][]): string; export declare function replacePlaceholders(input: string, values: Record): string; export declare function readFile(fileName: string): Promise; export declare function isDirectory(filePath: string): boolean | undefined; export declare function writeFile(fileName: string, content: string): Promise; export declare function writeFileIfChanged(filename: string, newContent: string): Promise; export declare function hasYarn(): boolean; export declare function makeInstall(packageName: string, dev?: boolean): string; /** * Remove ./ at the beginning: ./relative => relative * relative => relative * Preserve directories: ./relative/ => relative/ * Preserve absolute paths: /absolute/path => /absolute/path */ export declare function normalizeRelativePath(sourcePath: string): string; /** * Escape special regex characters used in file-based routing systems */ export declare function makePathRegexSafe(path: string): string;