export declare function stripBom(text: string | Buffer): string; export type ParsedJson = unknown; interface JsonCommentScan { text: string; hasComments: boolean; firstBlockComment: number; } export declare function blankJsonComments(source: string | Buffer): JsonCommentScan; export declare function hasJsonComments(source: string | Buffer): boolean; export declare function parseAuthoredJson(source: string | Buffer, options?: { browser?: string; emptyAsObject?: boolean; }): T; export declare function parseJsonSafe(text: string | Buffer): T; export {};