export declare function writePrivateText(path: string, content: string): Promise; export declare function writePrivateJson(path: string, value: unknown): Promise; export declare function removePrivateFileDurably(path: string): Promise; export declare function readJsonIfExists(path: string): Promise; /** * Serializes writers for a private credential file. A stale lock is recoverable * after a bounded interval so a crashed Numa process cannot permanently block * credential repair. */ export declare function withPrivateFileLock(targetPath: string, operation: () => Promise, options?: { timeoutMs?: number; staleAfterMs?: number; }): Promise;