/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
///
import { writeFile } from "node:fs/promises";
/**
* Indent text by prepending spaces.
*/
export declare function indentString(str: string, indentNumber?: number): string;
/**
* Returns a string of spaces.
*/
export declare function getIndent(indentNumber?: number): string;
/**
* Reads a file into an array of strings, one line per array element.
*/
export declare function readLines(filePath: string): Promise;
/**
* Writes to a file, replacing any CRLF line-endings with LF. If the file data is not a string, this function behaves
* the same as writeFile.
*/
export declare function writeFileWithLineFeeds(...args: Parameters): Promise;
//# sourceMappingURL=text.d.ts.map