export declare const readTextFile: (path: string) => Promise; export declare const readJsonFile: (path: string) => Promise; export declare const writeTextFile: (path: string, contents: string) => Promise; /** One trailing newline, so written documents behave in a diff and in a shell. */ export declare const writeJsonFile: (path: string, value: unknown) => Promise; /** * A file that holds a secret and nothing else can rebuild: readable by its * owner alone, and replaced in one step so an interrupted write leaves the * old copy rather than half of a new one. */ export declare const secretStagingPath: (path: string) => string; export declare const writeSecretJsonFile: (path: string, value: unknown) => Promise; //# sourceMappingURL=io.d.ts.map