import { readFileSync } from "node:fs"; import { readFile } from "node:fs/promises"; type ReadFileSyncPath = Parameters[0]; type ReadFilePath = Parameters[0]; /** Read a UTF-8 text file and remove its optional leading byte order mark. */ export declare function readFileSyncStrippingUtf8Bom(path: ReadFileSyncPath): string; /** Read a UTF-8 text file and remove its optional leading byte order mark. */ export declare function readFileStrippingUtf8Bom(path: ReadFilePath): Promise; export {};