import * as fs from 'node:fs/promises'; export declare class CliFileWriter { static write(filepath: string, contents: string, opts?: Parameters<(typeof fs)['writeFile']>[2]): Promise; static revert(): Promise; static cache(filepath: string): Promise; private fileCache; write(filepath: string, contents: string, opts?: Parameters<(typeof fs)['writeFile']>[2]): Promise; revert(): Promise; cache(filepath: string): Promise; }