export interface SafeOutputRoot { root: string; absolutePath: string; relativePath: string; } export declare function toPosix(value: string): string; export declare function isInside(parent: string, child: string): boolean; export declare function createSafeOutputRoot(repoRoot: string, outDir: string, label?: string): SafeOutputRoot; export declare function writeFileUnder(root: string, relativePath: string, content: string, label?: string): string; export declare function writeJsonUnder(root: string, relativePath: string, value: unknown, label?: string): string; export declare function appendJsonLineUnder(root: string, relativePath: string, value: unknown, label?: string): string; export declare function readJsonUnder(root: string, relativePath: string, label?: string): T; export declare function readJsonlUnder(root: string, relativePath: string): T[];