export declare function runExclusiveConfigWrite(filePath: string, task: () => T | Promise): Promise;