import { ErrorLike } from './errors'; /** * Parses the JSON input using an error-tolerant "JSONC" parser. If an error occurs, it is returned as a value * instead of being thrown. This is useful when input is parsed in the background (not in response to any specific * user action), because it makes it easier to save the error and only show it to the user when it matters (for * some interactive user action). */ export declare function parseJSONCOrError(input: string): T | ErrorLike;