/** * Strip trailing commas from JSON content. * Removes commas that appear before closing brackets/braces, * while preserving commas inside strings. */ export declare function stripTrailingCommas(content: string): string; /** * Parse JSON or JSONC content preserving comments via comment-json. */ export declare function parseJsonOrJsonc(content: string, isJsonc: boolean): unknown; /** * Stringify data back to JSONC while preserving attached comments. */ export declare function stringifyWithComments(data: unknown): string; //# sourceMappingURL=jsonc.d.ts.map