export declare function nodeSafeFileOperations(path: string): (action?: (map: Map) => Promise>) => Promise>;