Project Files
dist / utils / config.d.ts
/** Resolve relative paths against cwd, or return absolute paths unchanged */
export declare function resolvePath(filePath: string): string;
/** Create a .bak copy before destructive operations */
export declare function backupFile(filePath: string): string;
/** Ensure the directory for a file path exists */
export declare function ensureDir(filePath: string): void;
/** Supported formats for reading */
export declare const READABLE_EXTS: string[];
export declare function checkReadable(filePath: string): string | null;