import { Static, TAnySchema } from '@sinclair/typebox';
import { AssertError } from '@sinclair/typebox/value';
export * from '@sinclair/typebox/value';
export * from './materialized-value-error';
/**
 * Non-throwing version of {@link ParseJson}.
 *
 * If JSON parsing fails then {@link TypeBoxError} is returned.
 * Otherwise its just the regular {@link Value.Parse} error of type {@link AssertError}.
 */
export declare const ParseJsonSafe: <$Type extends TAnySchema>(type: $Type, jsonString: string) => Static<$Type> | AssertError;
/**
 * Parses a JSON string and validates it against a TypeBox schema
 *
 * @returns The parsed and typed value
 *
 * @throwsError {@link TypeBoxError} If JSON parsing fails or if validation fails
 */
export declare const ParseJson: <$Type extends TAnySchema>(type: $Type, jsonString: string) => Static<$Type>;
//# sourceMappingURL=parse-json.d.ts.map