export declare function tryParseJSON(str: string, defaultValue?: any): T | null;