/** * Check if path is local (not remote) * @param {string} filePath - File path to check * @returns {boolean} True if path is local */ export function isLocalPath(filePath: string): boolean; /** * Write file with directory creation if needed * @param {string} filePath - File path to write to * @param {string} content - Content to write * @returns {Promise} */ export function writeFile(filePath: string, content: string): Promise; export const readFile: typeof fs.readFile; export function findUp(start: any, fileName: any): Promise; /** * Check if file's directory or any parent has .md-ignore * @param {string} filePath - Absolute path to file * @returns {boolean} True if should be ignored */ export function hasIgnoreFile(filePath: string): boolean; export function resolveOutputPath(cwd: any, outputDir: any, file: any): string; export function resolveFlatPath(cwd: any, outputDir: any, file: any): string; export function resolveCommonParent(mainDir?: string, fileDir?: string): string; export function getGitignoreContents(filePath?: string): Promise; /** * Convert absolute path to relative path * @param {string} file - Absolute file path * @param {string} cwd - Current working directory * @returns {string} Relative path */ export function convertToRelativePath(file: string, cwd: string): string; import fs_1 = require("node:fs/promises"); import fs = fs_1.promises; //# sourceMappingURL=fs.d.ts.map