import { type FileHandle } from 'fs/promises'; /** * Asynchronously walks through a directory structure and yields filenames. * Uses a depth-first search pattern. */ export declare function walk(dir: string, context?: string): AsyncGenerator; /** * Writes text to a file descriptor, adding a trailing newline. */ export declare const writeLine: (fd: FileHandle, line: string, newline?: string) => Promise<{ bytesWritten: number; buffer: string; }>; /** * Checks to see if a file exists or not. */ export declare const pathExists: (filename: string) => Promise; export declare const readFileLines: (filename: string) => Promise; export declare const writeFileLines: (filename: string, lines: string[]) => Promise; export declare const isCodeFile: (filename: string) => boolean; export declare const isDocFile: (filename: string) => boolean; //# sourceMappingURL=fs.d.ts.map