import { type Parser } from '../types'; /** * Parse a string as a JSON serialized object with a fallback * * @since 0.11.0 * @param {T} fallback - Fallback value * @returns {Parser} Parser function * @throws {TypeError} If the value and fallback are both null or undefined * @throws {SyntaxError} If value is not a valid JSON string */ declare const asJSON: (fallback: T) => Parser; export { asJSON };