export declare function exists(filePath: string): Promise; export declare function ensureDir(dirPath: string): Promise; export declare function readJson(filePath: string, fallback: T): Promise; export declare function writeJson(filePath: string, value: unknown, { overwrite }?: { overwrite?: boolean | undefined; }): Promise; export declare function updateJsonFile(filePath: string, fallback: T, update: (current: T) => T | Promise): Promise; export declare function appendJsonLine(filePath: string, value: unknown): Promise; export declare function resolveWorkflowPath(root: string, ...segments: string[]): string; export declare function resolveWorkspaceWritePath(root: string, relativePath: string): string;