/** Strip `//` line comments and trailing commas from JSON, leaving string literals untouched. */
export declare function stripJsonComments(input: string): string;
/** Strip one leading UTF-8 BOM (U+FEFF) before JSON parsing. */
export declare function stripJsonBom(input: string): string;
/** Parse JSON read from disk, accepting files that start with a UTF-8 BOM. */
export declare function parseJsonFileContent(input: string): unknown;
//# sourceMappingURL=json.d.ts.map