import type { PathLike } from 'node:fs'; import type { FileHandle } from 'node:fs/promises'; /** * Read a file asynchronously, normalizing line endings to `\n`. * @param path - The file path or handle to read. * @param encoding - The encoding to use (default: `'utf-8'`). */ export declare function readFile(path: PathLike | FileHandle, encoding?: BufferEncoding): Promise; /** * Read a file synchronously, normalizing line endings to `\n`. * @param path - The file path to read. * @param encoding - The encoding to use (default: `'utf-8'`). */ export declare function readFileSync(path: string, encoding?: BufferEncoding): string;